Table of Contents

Struct RoomData

Namespace
Coherence.Cloud
Assembly
Coherence.Runtime.dll
public struct RoomData

Fields

AuthToken

public string AuthToken

Field Value

string

ConnectedPlayers

public int ConnectedPlayers

Field Value

int

CreatedAt

public string CreatedAt

Field Value

string

Host

public RoomHostData Host

Field Value

RoomHostData

Id

public ushort Id

Field Value

ushort

KV

public Dictionary<string, string> KV

Field Value

Dictionary<string, string>

MaxPlayers

public int MaxPlayers

Field Value

int

RoomNameKey

public const string RoomNameKey = "name"

Field Value

string

Secret

public string Secret

Field Value

string

SimSlug

public string SimSlug

Field Value

string

Tags

public string[] Tags

Field Value

string[]

UniqueId

public ulong UniqueId

Field Value

ulong

Properties

RoomName

public string RoomName { get; }

Property Value

string

Methods

GetRoomEndpointData(RoomData)

public static (EndpointData, bool isValid, string validationErrorMessage) GetRoomEndpointData(RoomData room)

Parameters

room RoomData

Returns

(EndpointData, bool isValid, string validationErrorMessage)

ToString()

public override string ToString()

Returns

string