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
iduint
Properties
Id
The underlying value.
[DataMember]
public uint Id { get; }
Property Value
Invalid
The invalid id.
public static AccountID Invalid { get; }
Property Value
IsValid
True if not Invalid.
public bool IsValid { get; }
Property Value
Methods
CompareTo(AccountID)
Value-based comparison.
public int CompareTo(AccountID other)
Parameters
otherAccountID
Returns
Equals(AccountID)
Value-based equality.
public bool Equals(AccountID other)
Parameters
otherAccountID
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(AccountID, AccountID)
Value-based equality.
public static bool operator ==(AccountID left, AccountID right)
Parameters
Returns
operator >(AccountID, AccountID)
Value-based comparison.
public static bool operator >(AccountID left, AccountID right)
Parameters
Returns
operator >=(AccountID, AccountID)
Value-based comparison.
public static bool operator >=(AccountID left, AccountID right)
Parameters
Returns
operator !=(AccountID, AccountID)
Value-based equality.
public static bool operator !=(AccountID left, AccountID right)
Parameters
Returns
operator <(AccountID, AccountID)
Value-based comparison.
public static bool operator <(AccountID left, AccountID right)
Parameters
Returns
operator <=(AccountID, AccountID)
Value-based comparison.
public static bool operator <=(AccountID left, AccountID right)