Table of Contents

Struct AccountID

Namespace
MarymoorStudios.Core.Steamworks
Assembly
MarymoorStudios.Core.Steamworks.dll
[DataContract]
public readonly struct AccountID : IEquatable<AccountID>, IComparable<AccountID>
Implements
Inherited Members

Constructors

AccountID(uint)

public AccountID(uint id)

Parameters

id uint

Properties

Id

The underlying value.

[DataMember]
public uint Id { get; }

Property Value

uint

Invalid

The invalid id.

public static AccountID Invalid { get; }

Property Value

AccountID

IsValid

True if not Invalid.

public bool IsValid { get; }

Property Value

bool

Methods

CompareTo(AccountID)

Value-based comparison.

public int CompareTo(AccountID other)

Parameters

other AccountID

Returns

int

Equals(AccountID)

Value-based equality.

public bool Equals(AccountID other)

Parameters

other AccountID

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AccountID, AccountID)

Value-based equality.

public static bool operator ==(AccountID left, AccountID right)

Parameters

left AccountID
right AccountID

Returns

bool

operator >(AccountID, AccountID)

Value-based comparison.

public static bool operator >(AccountID left, AccountID right)

Parameters

left AccountID
right AccountID

Returns

bool

operator >=(AccountID, AccountID)

Value-based comparison.

public static bool operator >=(AccountID left, AccountID right)

Parameters

left AccountID
right AccountID

Returns

bool

operator !=(AccountID, AccountID)

Value-based equality.

public static bool operator !=(AccountID left, AccountID right)

Parameters

left AccountID
right AccountID

Returns

bool

operator <(AccountID, AccountID)

Value-based comparison.

public static bool operator <(AccountID left, AccountID right)

Parameters

left AccountID
right AccountID

Returns

bool

operator <=(AccountID, AccountID)

Value-based comparison.

public static bool operator <=(AccountID left, AccountID right)

Parameters

left AccountID
right AccountID

Returns

bool