SGrid
Index
Functions Index
void GetEnabledUserRegions (Closure onComplete)
void GetRegionTexture (SPublicRegion region, Closure onComplete) void GetRegionTexture (string json, Closure onComplete)
void GetOutfits (Closure onComplete)
Properties Index
bool IsWhiteLabel get
bool PlayerIsAdmin get
bool PlayerIsModerator get
bool PlayerIsDeveloper get
bool PlayerIsTrusted get
SColor ThemeColor1 get
SColor ThemeColor2 get
SColor ThemeColor3 get
SColor ThemeColor4 get
SColor TextColor1 get
SColor TextColor2 get
string Name get
string SiteURL get
int DefaultRegion get
int[] Avatars get
int OrientationRegion get
Functions
GetEnabledUserRegions
void GetEnabledUserRegions (Closure onComplete)
Calling this function will asynchronously get and return information about this player's regions as SUserRegions. (This is the same information in the "Region List" window).
onComplete
Closure (Callback)
onComplete is a function that will be called on completion with SUserRegions as a parameter. onComplete(SUserRegions)
GetRegionTexture
void GetRegionTexture (SPublicRegion region, Closure onComplete) void GetRegionTexture (string json, Closure onComplete)
Returns the Region Texture (the image seen while loading the region) as a resource. This function requires an SPublicRegion object to identify which region. (white-label grids only)
GetOutfits
void GetOutfits (Closure onComplete)
Calling this function will asynchronously get and return information about this player's outfits as a List of SOutfit.
onComplete
Closure (Callback)
onComplete is a function that will be called on completion with a List of SOutfit as a parameter.
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.(white-label grid only)
PlayerIsModerator
bool PlayerIsModerator get
Returns true if this player's Grid role is Moderator. (white-label grid only)
PlayerIsDeveloper
bool PlayerIsDeveloper get
Returns true if this player's Grid role is Developer.(white-label grid only)
PlayerIsTrusted
bool PlayerIsTrusted get
Returns true if this player's Grid role is Trusted.(white-label grid only)
ThemeColor1
SColor ThemeColor1 get
The viewer's Theme Color 1.
The viewer's theme consist of 4 Theme Colors and 2 Text Colors.
ThemeColor2
SColor ThemeColor2 get
The viewer's Theme Color 2.
The viewer's theme consist of 4 Theme Colors and 2 Text Colors.
ThemeColor3
SColor ThemeColor3 get
The viewer's Theme Color 3.
The viewer's theme consist of 4 Theme Colors and 2 Text Colors.
ThemeColor4
SColor ThemeColor4 get
The viewer's Theme Color 4.
The viewer's theme consist of 4 Theme Colors and 2 Text Colors.
TextColor1
SColor TextColor1 get
The viewer's Text Color 1.
The viewer's theme consist of 4 Theme Colors and 2 Text Colors.
TextColor2
SColor TextColor2 get
The viewer's Text Color 2.
The viewer's theme consist of 4 Theme Colors and 2 Text Colors.
Name
string Name get
Returns the Grid's Name. (white-label grid only)
SiteURL
string SiteURL get
Returns the Grid's Site URL. (white-label grid only)
DefaultRegion
int DefaultRegion get
Returns the Region ID of the Default Region. The Default Region is set in the grid's Dashboard. (white-label grid only)
Avatars
int[] Avatars get
Returns the IDs of all Avatars in the grid. (white-label grid only)
OrientationRegion
int OrientationRegion get
Returns the Region ID of the "Orientation Region".
Last updated
Was this helpful?

