|
|
(9 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | | + | This page has moved to: https://docs.sine.space/v/scripting/server-scripting/scene/sregionscript |
− | =Public Member Functions=
| + | |
− | | + | |
− | {{ScriptFunction|void|Log|(string message);|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|void|SubscribeToNetwork|(string key);|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|void|UnsubscribeFromNetwork|(string key);|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|void|SendMessageToAllClientScripts|(string messageName, Table message);|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|void|SendMessageToClientScripts|(int playerID, string messageName, Table message);|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|void|StartCoroutine|(<nowiki>DynValue coroutine, DynValue parameter=default(DynValue)</nowiki>);|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|void|StartCoroutine|(<nowiki>string name, DynValue parameter=default(DynValue))</nowiki>;|description||5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | =Public Attributes=
| + | |
− | | + | |
− | {{ScriptFunction|string|ScriptID|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|int|InstanceID|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|int|RegionID|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|SScene|Scene|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|SDatabase|Database|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|SMath|Math|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|SShared|Shared|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|SWebservice|WebServices|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|string|RuntimeType|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|bool|InEditor|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|float|TimeSinceAwake|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|string|DateTimeUTC|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|int|LocalTimeUnix|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|int|ServerTimeUnix|{ get;set; }|description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | =Events=
| + | |
− | | + | |
− | {{ScriptFunction|<nowiki>Action<int></nowiki>|OnAvatarJoin||description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|<nowiki>Action<int></nowiki>|OnAvatarLeave||description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|<nowiki>Action<string, Table></nowiki>|OnScriptServerMessage||description|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | | + | |
− | {{Scripting Navbox}}
| + | |