Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
override void | Initialise (SScript runtime, object wrapper) |
bool | IsMemberOf (int groupID) |
Whether is a member of this group. More... | |
SGroupInfo | GetGroupInfo (int groupID) |
Get the group info by groupID More... | |
void | JoinGroup (int groupID, bool force=false) |
Join the group More... | |
void | LeaveGroup (int groupID, bool force=false) |
Leave the group More... | |
Public Member Functions inherited from ScriptClass< T > | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
Public Member Functions inherited from ScriptClassWrapper< T > | |
override void | Initialise (SScript runtime, object wrapper) |
Properties | |
SGroupInfo[] | Membership [get] |
Return an array of members from the group More... | |
Properties inherited from ScriptClass< T > | |
override bool | Alive [get] |
Return if the component is alive. More... | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Properties inherited from ScriptClassWrapper< T > | |
T | _wrap [get] |
Additional Inherited Members | |
Protected Member Functions inherited from ScriptClass< T > | |
void | Initialise (SScript runtime) |
SGroupInfo SineSpace.Scripting.Player.SGroup.GetGroupInfo | ( | int | groupID | ) |
Get the group info by groupID
groupID | The ID of the group |
|
virtual |
Implements ScriptClass< T >.
bool SineSpace.Scripting.Player.SGroup.IsMemberOf | ( | int | groupID | ) |
Whether is a member of this group.
groupID | The ID of the group |
void SineSpace.Scripting.Player.SGroup.JoinGroup | ( | int | groupID, |
bool | force = false |
||
) |
Join the group
groupID | The ID of the group |
force | Whether force the group or not |
void SineSpace.Scripting.Player.SGroup.LeaveGroup | ( | int | groupID, |
bool | force = false |
||
) |
Leave the group
groupID | The ID of the group |
force | Whether force the group or not |
|
get |
Return an array of members from the group