data_object Properties 23

DownloadProgress
Nullable`1
A snapshot of this player's current download progress, or null when unavailable.
HostDownloadProgress
Nullable`1
A snapshot of the leader's download progress, separate from this player's download. Null when the leader is not loading or has not reported valid progress.
Id
SteamId
The unique identifier of this party.
IsPublic
bool
Whether this party is discoverable and joinable by everyone.
JoinError
string
A human-readable failure message, or null when there is no failure. Do not use it to determine the join stage.
JoiningStage
JoinStage
The local follower's join stage, or Sandbox.PartyRoom.JoinStage.None when no attempt exists.
JoinState
OwnerJoinState
The leader's advertised join state. Unknown or missing states report Sandbox.PartyRoom.OwnerJoinState.None.
MaxMembers
int
The maximum number of members allowed in this party.
MemberCount
int
The current number of members in this party.
Members
IEnumerable`1
A list of members in this party.
Name
string
The party name, filtered using the local player's chat filter settings. Only the leader can change it.
OnChatMessage
Action`2
OnJoin
Action`1
OnLeave
Action`1
OnVoiceData
Action`2
Owner
Friend
The current party leader.
PackageIdent
string
What package is this party's owner playing?
PackageTitle
string
The game title advertised by the party leader, which may be empty.
SelectedGameIdent
string
The game the party intends to play, without starting downloads or following the leader.
SelectedGameSettings
Nullable`1
A copy of the leader's saved setup for the selected game, or null if it has not been configured.
SelectedGameTitle
string
The title of the game the party intends to play.
VoiceCommunicationAllowed
bool
Allow communication via voice when in the main menu.
VoiceRecording
bool
Whether we are recording voice for the party.

functions Methods 14

CancelJoin ()
Cancel a download, wait for the leader, or connection attempt while staying in the party. Does nothing in other stages, including after joining. Must be called on the main thread.
ConfigureGame (gameIdent, settings)
Save the setup for the currently selected game. Only the leader can change it.
GetMemberStatus (member)
MemberStatus
What this party member is doing - downloading the game, waiting, in it. Each member shares their own through the lobby, so this is at most half a second old.
IsGameSelected (package)
bool
Whether this package matches the chosen game, including its revision when one was selected.
IsMemberReady (member)
bool
Whether this member is ready for the current game setup. The leader starts the game instead.
Kick (friend)
Kick a member from the party. Only the owner can kick members.
Leave ()
Leave this party and stop following its leader.
MakePublic ()
Make this party discoverable and joinable by everyone. Only the leader can do this.
RetryJoin ()
Retry a failed or cancelled join on the next party update. Does nothing in other stages. Must be called on the main thread.
SelectGame (package)
Publish the leader's choice of game. Pass null to clear the choice.
SendChatMessage (text)
SetOwner (friend)
bool
Set the owner to someone else. You need to be the owner
SetPublic (isPublic)
Switch between a public party and an invitation-only party. Only the leader can do this.
SetReady (ready)
Share whether the local member is ready for the selected game and its saved settings. Changing the setup clears everyone's readiness.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.