s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
PartyRoom
chevron_left
Classes
class
PartyRoom
search
Properties
data_object
Id
data_object
JoinState
data_object
MaxMembers
data_object
MemberCount
data_object
Members
data_object
Name
data_object
OnChatMessage
data_object
OnJoin
data_object
OnLeave
data_object
OnVoiceData
data_object
Owner
data_object
PackageIdent
data_object
VoiceCommunicationAllowed
data_object
VoiceRecording
Methods
functions
Kick
functions
Leave
functions
SendChatMessage
functions
SetOwner
Static Properties
data_object
Current
Static Methods
remove_circle
Create
functions
Find
PartyRoom
A Party. A Party with your friends.
class
Sandbox
.
Sandbox.Engine
data_object
Properties
14
Id
SteamId
The unique identifier of this lobby
JoinState
OwnerJoinState
The current join state of the owner of the party
MaxMembers
int
The maximum number of members allowed in this lobby.
MemberCount
int
The current number of members in this lobby.
Members
IEnumerable`1
A list of members in this room
Name
string
The name of this lobby.
OnChatMessage
Action`2
OnJoin
Action`1
OnLeave
Action`1
OnVoiceData
Action`2
Owner
Friend
PackageIdent
string
What package is this party's owner playing?
VoiceCommunicationAllowed
bool
Allow communication via voice when in the main menu.
VoiceRecording
bool
functions
Methods
4
Kick
(
friend
)
Kick a member from the lobby. Only the owner can kick members.
Leave
(
)
SendChatMessage
(
text
)
SetOwner
(
friend
)
bool
Set the owner to someone else. You need to be the owner
data_object
Static Properties
1
Current
PartyRoom
functions
Static Methods
2
Create
(
maxMembers
)
obsolete
Task`1
Find
(
)
Task`1
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.