Table of Contents

RoomData

struct in Coherence.Cloud

Represents a room that has been created in coherence Cloud.

Fields
AuthToken

The authentication token for connecting to the room.

ConnectedPlayers

The current number of players connected to the room.

CreatedAt

The timestamp when the room was created.

Host

The host information for the room.

Id

The unique identifier for the room within a session.

KV

Key-value pairs of custom room data.

MaxPlayers

The maximum number of players allowed in the room.

RoomNameKey

The key used to store the name of a room in RoomCreationOptions.

Secret

The secret token used for room authentication and management.

SimSlug

The simulator slug identifying the type of simulator running the room.

Tags

Array of tags associated with the room.

UniqueId

The globally unique identifier for the room.

Properties
RoomName

The display name of the room.

Methods
Equals

Determines whether the specified RoomData is equal to this instance.

GetHashCode

Returns a hash code for this instance.

GetRoomEndpointData

Creates endpoint data for connecting to the room.

ToString

Returns a string representation of the room data.