Lobby
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Lobby():
Lobby
Returns
Section titled “Returns”Lobby
Properties
Section titled “Properties”id:
bigint
Methods
Section titled “Methods”deleteData()
Section titled “deleteData()”deleteData(
key):boolean
Deletes one metadata value of this lobby. Only the lobby owner can delete lobby data.
Parameters
Section titled “Parameters”string
metadata key to delete
Returns
Section titled “Returns”boolean
true when Steam accepted the change
getData()
Section titled “getData()”getData(
key):string|null
Reads one metadata value of this lobby.
Parameters
Section titled “Parameters”string
metadata key
Returns
Section titled “Returns”string | null
the value, or null when the key is not set
getFullData()
Section titled “getFullData()”getFullData():
Record<string,string>
Get an object containing all the lobby data
Returns
Section titled “Returns”Record<string, string>
getMemberCount()
Section titled “getMemberCount()”getMemberCount():
bigint
Returns the number of members currently in this lobby.
Returns
Section titled “Returns”bigint
the member count
getMemberLimit()
Section titled “getMemberLimit()”getMemberLimit():
bigint|null
Returns the maximum number of members this lobby allows.
Returns
Section titled “Returns”bigint | null
the member limit, or null when Steam has no metadata for the lobby
getMembers()
Section titled “getMembers()”getMembers():
PlayerSteamId[]
Returns the members of this lobby.
Returns
Section titled “Returns”a PlayerSteamId for each member, empty when there are none
getOwner()
Section titled “getOwner()”getOwner():
PlayerSteamId
Returns the owner of this lobby.
Returns
Section titled “Returns”the owner’s PlayerSteamId
join()
Section titled “join()”join():
Promise<Lobby>
Joins this lobby.
Returns
Section titled “Returns”Promise<Lobby>
a Lobby for the joined lobby; rejects with Failed to join lobby when Steam refuses the join
leave()
Section titled “leave()”leave():
void
Leaves this lobby.
Returns
Section titled “Returns”void
mergeFullData()
Section titled “mergeFullData()”mergeFullData(
data):boolean
Merge current lobby data with provided data in a single batch
Parameters
Section titled “Parameters”Record<string, string>
Returns
Section titled “Returns”boolean
true if all data was set successfully
openInviteDialog()
Section titled “openInviteDialog()”openInviteDialog():
void
Opens the Steam invite dialog for this lobby.
Returns
Section titled “Returns”void
setData()
Section titled “setData()”setData(
key,value):boolean
Sets one metadata value of this lobby. Only the lobby owner can set lobby data.
Parameters
Section titled “Parameters”string
metadata key
string
value to store
Returns
Section titled “Returns”boolean
true when Steam accepted the change
setJoinable()
Section titled “setJoinable()”setJoinable(
joinable):boolean
Sets whether new users may join this lobby. Only the lobby owner can change this.
Parameters
Section titled “Parameters”joinable
Section titled “joinable”boolean
true to allow joining, false to block it
Returns
Section titled “Returns”boolean
true when Steam accepted the change
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
