s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
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
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.