wiki.sine.space | sinespace

Scripting/SGroup

From wiki.sine.space
Revision as of 21:04, 5 January 2022 by Voidtech (Talk | contribs)

Jump to: navigation, search

Members

IsMemberOf

bool IsMemberOf (int groupID)

Whether is a member of this group.

IsMember = Space.Groups.IsMemberOf(675)


GetGroupInfo

SGroupInfo GetGroupInfo (int groupID)

Get the group info by groupID.

groupInfo = Space.Groups.GetGroupInfo(675)


JoinGroup

void JoinGroup (int groupID, bool force = false)

Join the group.

Space.Groups.JoinGroup(675)


LeaveGroup

void LeaveGroup (int groupID, bool force = false)

Leave the group.

Space.Groups.LeaveGroup(675)



Properties

Membership

SGroupInfo Membership { get; }

Return an array with all the groups this player is a member of

groups = Space.Groups.Membership