CSteamID
Struct CSteamID
Namespace: SwiftlyS2.Shared.SteamAPI
Assembly: SwiftlyS2.CS2.dll
[Serializable]
public struct CSteamID : IEquatable<CSteamID>, IComparable<CSteamID>Implements
Inherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Constructors
CSteamID(AccountID_t, EUniverse, EAccountType)
public CSteamID(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)Parameters
- unAccountID AccountID_t
- eUniverse EUniverse
- eAccountType EAccountType
CSteamID(AccountID_t, uint, EUniverse, EAccountType)
public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType)Parameters
- unAccountID AccountID_t
- unAccountInstance uint
- eUniverse EUniverse
- eAccountType EAccountType
CSteamID(ulong)
public CSteamID(ulong ulSteamID)Parameters
- ulSteamID ulong
CSteamID(string)
public CSteamID(string sSteamID)Parameters
- sSteamID string
Fields
LanModeGS
public static readonly CSteamID LanModeGSField Value
Nil
public static readonly CSteamID NilField Value
NonSteamGS
public static readonly CSteamID NonSteamGSField Value
NotInitYetGS
public static readonly CSteamID NotInitYetGSField Value
OutofDateGS
public static readonly CSteamID OutofDateGSField Value
m_SteamID
public ulong m_SteamIDField Value
Methods
BAnonAccount()
public bool BAnonAccount()Returns
BAnonGameServerAccount()
public bool BAnonGameServerAccount()Returns
BAnonUserAccount()
public bool BAnonUserAccount()Returns
BBlankAnonAccount()
public bool BBlankAnonAccount()Returns
BChatAccount()
public bool BChatAccount()Returns
BClanAccount()
public bool BClanAccount()Returns
BConsoleUserAccount()
public bool BConsoleUserAccount()Returns
BContentServerAccount()
public bool BContentServerAccount()Returns
BGameServerAccount()
public bool BGameServerAccount()Returns
BIndividualAccount()
public bool BIndividualAccount()Returns
BPersistentGameServerAccount()
public bool BPersistentGameServerAccount()Returns
Clear()
public void Clear()CompareTo(CSteamID)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
public int CompareTo(CSteamID other)Parameters
- other CSteamID — An object to compare with this instance.
Returns
- int — A value that indicates the relative order of the objects being compared. The return value has these meanings:
| Value | Meaning |
|---|---|
| Less than zero | This instance precedes other in the sort order. |
| Zero | This instance occurs in the same position in the sort order as other. |
| Greater than zero | This instance follows other in the sort order. |
CreateBlankAnonLogon(EUniverse)
public void CreateBlankAnonLogon(EUniverse eUniverse)Parameters
- eUniverse EUniverse
CreateBlankAnonUserLogon(EUniverse)
public void CreateBlankAnonUserLogon(EUniverse eUniverse)Parameters
- eUniverse EUniverse
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object other)Parameters
- other object
Returns
- bool — true if
objand this instance are the same type and represent the same value; otherwise, false.
Equals(CSteamID)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(CSteamID other)Parameters
- other CSteamID — An object to compare with this object.
Returns
GetAccountID()
public AccountID_t GetAccountID()Returns
GetEAccountType()
public EAccountType GetEAccountType()Returns
GetEUniverse()
public EUniverse GetEUniverse()Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()Returns
- int — A 32-bit signed integer that is the hash code for this instance.
GetSteamID()
public string GetSteamID()Returns
GetSteamID3()
public string GetSteamID3()Returns
GetSteamID32()
public uint GetSteamID32()Returns
GetSteamID64()
public ulong GetSteamID64()Returns
GetSteamIDOnline()
public string GetSteamIDOnline()Returns
GetUnAccountInstance()
public uint GetUnAccountInstance()Returns
InstancedSet(AccountID_t, uint, EUniverse, EAccountType)
public void InstancedSet(AccountID_t unAccountID, uint unInstance, EUniverse eUniverse, EAccountType eAccountType)Parameters
- unAccountID AccountID_t
- unInstance uint
- eUniverse EUniverse
- eAccountType EAccountType
IsLobby()
public bool IsLobby()Returns
IsValid()
public bool IsValid()Returns
Set(AccountID_t, EUniverse, EAccountType)
public void Set(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)Parameters
- unAccountID AccountID_t
- eUniverse EUniverse
- eAccountType EAccountType
SetAccountID(AccountID_t)
public void SetAccountID(AccountID_t other)Parameters
- other AccountID_t
SetAccountInstance(uint)
public void SetAccountInstance(uint other)Parameters
- other uint
SetEAccountType(EAccountType)
public void SetEAccountType(EAccountType other)Parameters
- other EAccountType
SetEUniverse(EUniverse)
public void SetEUniverse(EUniverse other)Parameters
- other EUniverse
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()Returns
- string — The fully qualified type name.
Operators
operator ==(CSteamID, CSteamID)
public static bool operator ==(CSteamID x, CSteamID y)Parameters
Returns
explicit operator CSteamID(ulong)
public static explicit operator CSteamID(ulong value)Parameters
- value ulong
Returns
explicit operator ulong(CSteamID)
public static explicit operator ulong(CSteamID that)Parameters
- that CSteamID
Returns
operator !=(CSteamID, CSteamID)
public static bool operator !=(CSteamID x, CSteamID y)Parameters
Returns