wiki.sine.space | sinespace

Difference between revisions of "Scripting/SGrid"

From wiki.sine.space
Jump to: navigation, search
(Created page with " =Public Member Functions= {{ScriptFunction|void|GetEnabledUserRegions|(int id, float value);|description|5=<pre></pre>|6=<pre></pre>}} {{ScriptFunction|void|GetRegionTextur...")
 
Line 16: Line 16:
 
=Properties=
 
=Properties=
  
{{ScriptFunction|bool|IsWhiteLabel|{ get;}|description|5=<pre></pre>|6=<pre></pre>}}
+
{{ScriptFunction|bool|IsWhiteLabel|{ get;}|Returns true if this Grid is a white-label Grid. |5=<pre></pre>|6=<pre></pre>}}
  
{{ScriptFunction|bool|PlayerIsAdmin|{ get;}|description|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;}|description|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;}|description|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;}|description|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;}|description|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;}|description|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;}|description|5=<pre></pre>|6=<pre></pre>}}
+
{{ScriptFunction|int|DefaultRegion|{ get;}|Returns the ID of the Default Region.|5=<pre></pre>|6=<pre></pre>}}
  
{{ScriptFunction|int[]|Avatars|{ get;}|description|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}}
 
{{Scripting Navbox}}

Revision as of 19:50, 17 March 2022

Public Member Functions

GetEnabledUserRegions

void GetEnabledUserRegions (int id, float value);

description


GetRegionTexture

void GetRegionTexture (int id, float value);

description


GetRegionTexture

void GetRegionTexture (int id, float value);

description


GetOutfits

void GetOutfits (int id, float value);

description



Public Attributes

OrientationRegion

int OrientationRegion {}

description


Properties

IsWhiteLabel

bool IsWhiteLabel { get;}

Returns true if this Grid is a white-label Grid.


PlayerIsAdmin

bool PlayerIsAdmin { get;}

Returns true if this player's Grid role is Admin.


PlayerIsModerator

bool PlayerIsModerator { get;}

Returns true if this player's Grid role is Moderator.


PlayerIsDeveloper

bool PlayerIsDeveloper { get;}

Returns true if this player's Grid role is Developer.


PlayerIsTrusted

bool PlayerIsTrusted { get;}

Returns true if this player's Grid role is Trusted.


Name

string Name { get;}

Returns the Grid's Name


SiteURL

string SiteURL { get;}

Returns the Grid's Site URL


DefaultRegion

int DefaultRegion { get;}

Returns the ID of the Default Region.


Avatars

[[Scripting/int[]|int[]]] Avatars { get;}

Returns the IDs of all Avatars in the grid.