class
PartyRoom
public class PartyRoom A Party. A Party with your friends.
Properties
| Name | Type | Description |
|---|---|---|
Current static | PartyRoom | |
Id | SteamId | The unique identifier of this lobby |
VoiceCommunicationAllowed | Boolean | Allow communication via voice when in the main menu. |
VoiceRecording | Boolean | |
Members | IEnumerable<Friend> | A list of members in this room |
Owner | Friend | |
PackageIdent | String | What package is this party's owner playing? |
OnChatMessage | Action<Friend, String> | |
OnJoin | Action<Friend> | |
OnLeave | Action<Friend> | |
OnVoiceData | Action<Friend, Byte[]> | |
JoinState | OwnerJoinState | The current join state of the owner of the party |
Methods
Void Leave() Boolean SetOwner(SteamId friend) Set the owner to someone else. You need to be the owner
static Task<PartyRoom> Create(Int32 maxMembers) static Task<PartyRoom> Create(Int32 maxMembers, String name, Boolean ispublic) static Task<Entry[]> Find() Void SendChatMessage(String text)