Table of Contents

Struct Player

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

Fields

UserId

public string UserId

Field Value

string

Username

public string Username

Field Value

string

Properties

Attributes

public IReadOnlyList<CloudAttribute> Attributes { get; }

Property Value

IReadOnlyList<CloudAttribute>

Methods

CompareTo(Player)

public int CompareTo(Player other)

Parameters

other Player

Returns

int

Equals(in Player)

public bool Equals(in Player other)

Parameters

other Player

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetAttribute(string)

public CloudAttribute? GetAttribute(string key)

Parameters

key string

Returns

CloudAttribute?

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(in Player, in Player)

public static bool operator ==(in Player left, in Player right)

Parameters

left Player
right Player

Returns

bool

operator !=(in Player, in Player)

public static bool operator !=(in Player left, in Player right)

Parameters

left Player
right Player

Returns

bool