API ReferenceSandbox
PartyRoomclass
A Party. A Party with your friends.
object→PartyRoom
Methods7
Showing 7 methods
public void Kick(Sandbox.SteamId friend)
Kick a member from the lobby. Only the owner can kick members.
| Parameter | Type | Description |
|---|---|---|
| friend | SteamId | — |
Returns:
void—public void Leave()
Returns:
void—public void SendChatMessage(string text)
| Parameter | Type | Description |
|---|---|---|
| text | string | — |
Returns:
void—No results match this filter.
Properties15
Showing 15 properties
public Sandbox.PartyRoom.OwnerJoinState Sandbox.PartyRoom.JoinState { get; set; }
The current join state of the owner of the party
public int Sandbox.PartyRoom.MaxMembers { get; set; }
The maximum number of members allowed in this lobby.
Returns:
int—public int Sandbox.PartyRoom.MemberCount { get; set; }
The current number of members in this lobby.
Returns:
int—public System.Collections.Generic.IEnumerable`1<Sandbox.Friend> Sandbox.PartyRoom.Members { get; set; }
A list of members in this room
public string Sandbox.PartyRoom.Name { get; set; }
The name of this lobby.
Returns:
string—public string Sandbox.PartyRoom.PackageIdent { get; set; }
What package is this party's owner playing?
Returns:
string—public bool Sandbox.PartyRoom.VoiceCommunicationAllowed { get; set; }
Allow communication via voice when in the main menu.
Returns:
bool—public bool Sandbox.PartyRoom.VoiceRecording { get; set; }
Returns:
bool—No results match this filter.