Table of Contents

Struct EndpointData

Namespace
Coherence.Connection
Assembly
Coherence.Common.dll
public struct EndpointData

Fields

LocalRegion

public const string LocalRegion = "local"

Field Value

string

authToken

public string authToken

Field Value

string

customLocalToken

If set to true the system won't overwrite the authToken when the region is set to 'local'.

public bool customLocalToken

Field Value

bool

host

public string host

Field Value

string

port

public int port

Field Value

int

region

public string region

Field Value

string

roomId

public ushort roomId

Field Value

ushort

roomSecret

public string roomSecret

Field Value

string

runtimeKey

public string runtimeKey

Field Value

string

schemaId

public string schemaId

Field Value

string

simulatorType

public string simulatorType

Field Value

string

uniqueRoomId

public ulong uniqueRoomId

Field Value

ulong

worldId

public ulong worldId

Field Value

ulong

Methods

GetHostAndPort()

public string GetHostAndPort()

Returns

string

ToString()

public override string ToString()

Returns

string

TryParse(string, out EndpointData)

public static bool TryParse(string value, out EndpointData endpointData)

Parameters

value string
endpointData EndpointData

Returns

bool

Validate()

public (bool isValid, string errorMessage) Validate()

Returns

(bool isValid, string errorMessage)

WorldIdString()

public string WorldIdString()

Returns

string