|
|
(10 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | | + | This page has moved to: https://docs.sine.space/v/scripting/client-scripting/scene/sgrid |
− | =Public Member Functions=
| + | |
− | | + | |
− | {{ScriptFunction|void|GetEnabledUserRegions|(Closure onComplete);|Gets an SUserRegions object which contains data about the user's regions.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|void|GetRegionTexture|(SPublicRegion region, Closure onComplete);|Returns the texture resource of the region using an SPublicRegion object.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|void|GetRegionTexture|(string json, Closure onComplete);|Returns the texture resource of the region using a json string.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|void|GetOutfits|(Closure onComplete);|Gets the Grid's outfits as a table of SOutfit which contain Outfit data. |5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | | + | |
− | =Public Attributes=
| + | |
− | {{ScriptFunction|int|OrientationRegion|{}|Returns the Region ID of the Orientation Region|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | =Properties=
| + | |
− | | + | |
− | {{ScriptFunction|bool|IsWhiteLabel|{ get;}|Returns true if this Grid is a white-label Grid. |5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|bool|PlayerIsAdmin|{ get;}|Returns true if this player's Grid role is Admin.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|bool|PlayerIsModerator|{ get;}|Returns true if this player's Grid role is Moderator.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|bool|PlayerIsDeveloper|{ get;}|Returns true if this player's Grid role is Developer.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|bool|PlayerIsTrusted|{ get;}|Returns true if this player's Grid role is Trusted.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|string|Name|{ get;}|Returns the Grid's Name|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|string|SiteURL|{ get;}|Returns the Grid's Site URL|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|int|DefaultRegion|{ get;}|Returns the Region ID of the Default Region.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{ScriptFunction|int[]|Avatars|{ get;}|Returns the IDs of all Avatars in the grid.|5=<pre></pre>|6=<pre></pre>}}
| + | |
− | | + | |
− | {{Scripting Navbox}}
| + | |