SGroup

Index

Functions Index

Function Name

bool IsMemberOf (int groupID)

SGroupInfo GetGroupInfo (int groupID)

void JoinGroup (int groupID, bool force=false)

void LeaveGroup (int groupID, bool force=false)

Properties Index

Property

SGroupInfo[] Membership get

Functions

IsMemberOf

bool IsMemberOf (int groupID)

Whether is a member of this group.

Parameter
Type
Description

IsMember = Space.Groups.IsMemberOf(675)

GetGroupInfo

SGroupInfo GetGroupInfo (int groupID)

Get the group info by groupID.

Parameter
Type
Description

JoinGroup

void JoinGroup (int groupID, bool force=false)

Shows player a prompt to join specified group. If force is true, the user will not be shown a prompt. (force parameter is white-label only)

Parameter
Type
Description

LeaveGroup

void LeaveGroup (int groupID, bool force=false)

Shows player a prompt to leave specified group. If force is true, the user will not be shown a prompt. (force parameter is white-label only)

Parameter
Type
Description

Properties

Membership

SGroupInfo[] Membership get

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

Last updated

Was this helpful?