Sinespace Client  2023.2.17543
Client-side scripting for Sinespace
SineSpace.Scripting.Scene.SGrid Class Reference

Public Member Functions

 SGrid (SScript script)
 
void GetEnabledUserRegions (Action< SUserRegions > onComplete)
 
void GetEnabledUserRegions (Closure onComplete)
 
void GetRegionTexture (SPublicRegion region, Closure onComplete)
 
void GetRegionTexture (string json, Closure onComplete)
 
void GetOutfits (Action< List< SOutfit >> onComplete)
 
void GetOutfits (Closure onComplete)
 

Public Attributes

int OrientationRegion => Session.Grid.OrientationRegion
 

Properties

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 ID [get]
 
string Name [get]
 
string SiteURL [get]
 
int DefaultRegion [get]
 
int[] Avatars [get]
 

Constructor & Destructor Documentation

◆ SGrid()

SineSpace.Scripting.Scene.SGrid.SGrid ( SScript  script)

Member Function Documentation

◆ GetEnabledUserRegions() [1/2]

void SineSpace.Scripting.Scene.SGrid.GetEnabledUserRegions ( Action< SUserRegions onComplete)

◆ GetEnabledUserRegions() [2/2]

void SineSpace.Scripting.Scene.SGrid.GetEnabledUserRegions ( Closure  onComplete)

◆ GetOutfits() [1/2]

void SineSpace.Scripting.Scene.SGrid.GetOutfits ( Action< List< SOutfit >>  onComplete)

◆ GetOutfits() [2/2]

void SineSpace.Scripting.Scene.SGrid.GetOutfits ( Closure  onComplete)

◆ GetRegionTexture() [1/2]

void SineSpace.Scripting.Scene.SGrid.GetRegionTexture ( SPublicRegion  region,
Closure  onComplete 
)

◆ GetRegionTexture() [2/2]

void SineSpace.Scripting.Scene.SGrid.GetRegionTexture ( string  json,
Closure  onComplete 
)

Member Data Documentation

◆ OrientationRegion

int SineSpace.Scripting.Scene.SGrid.OrientationRegion => Session.Grid.OrientationRegion

Property Documentation

◆ Avatars

int [] SineSpace.Scripting.Scene.SGrid.Avatars
get

◆ DefaultRegion

int SineSpace.Scripting.Scene.SGrid.DefaultRegion
get

◆ ID

string SineSpace.Scripting.Scene.SGrid.ID
get

◆ IsWhiteLabel

bool SineSpace.Scripting.Scene.SGrid.IsWhiteLabel
get

◆ Name

string SineSpace.Scripting.Scene.SGrid.Name
get

◆ PlayerIsAdmin

bool SineSpace.Scripting.Scene.SGrid.PlayerIsAdmin
get

◆ PlayerIsDeveloper

bool SineSpace.Scripting.Scene.SGrid.PlayerIsDeveloper
get

◆ PlayerIsModerator

bool SineSpace.Scripting.Scene.SGrid.PlayerIsModerator
get

◆ PlayerIsTrusted

bool SineSpace.Scripting.Scene.SGrid.PlayerIsTrusted
get

◆ SiteURL

string SineSpace.Scripting.Scene.SGrid.SiteURL
get

◆ TextColor1

SColor SineSpace.Scripting.Scene.SGrid.TextColor1
get

◆ TextColor2

SColor SineSpace.Scripting.Scene.SGrid.TextColor2
get

◆ ThemeColor1

SColor SineSpace.Scripting.Scene.SGrid.ThemeColor1
get

◆ ThemeColor2

SColor SineSpace.Scripting.Scene.SGrid.ThemeColor2
get

◆ ThemeColor3

SColor SineSpace.Scripting.Scene.SGrid.ThemeColor3
get

◆ ThemeColor4

SColor SineSpace.Scripting.Scene.SGrid.ThemeColor4
get