SwiftlyS2

CSteamID

Struct CSteamID

Namespace: SwiftlyS2.Shared.SteamAPI

Assembly: SwiftlyS2.CS2.dll

[Serializable]
public struct CSteamID : IEquatable<CSteamID>, IComparable<CSteamID>

Implements

Inherited Members

Constructors

CSteamID(AccountID_t, EUniverse, EAccountType)

public CSteamID(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
Parameters

CSteamID(AccountID_t, uint, EUniverse, EAccountType)

public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType)
Parameters

CSteamID(ulong)

public CSteamID(ulong ulSteamID)
Parameters

CSteamID(string)

public CSteamID(string sSteamID)
Parameters

Fields

LanModeGS

public static readonly CSteamID LanModeGS
Field Value

Nil

public static readonly CSteamID Nil
Field Value

NonSteamGS

public static readonly CSteamID NonSteamGS
Field Value

NotInitYetGS

public static readonly CSteamID NotInitYetGS
Field Value

OutofDateGS

public static readonly CSteamID OutofDateGS
Field Value

m_SteamID

public ulong m_SteamID
Field 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

CreateBlankAnonUserLogon(EUniverse)

public void CreateBlankAnonUserLogon(EUniverse eUniverse)
Parameters

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object other)
Parameters
Returns
  • booltrue if obj and 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
  • booltrue if the current object is equal to the other parameter; otherwise, false.

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

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

SetAccountID(AccountID_t)

public void SetAccountID(AccountID_t other)
Parameters

SetAccountInstance(uint)

public void SetAccountInstance(uint other)
Parameters

SetEAccountType(EAccountType)

public void SetEAccountType(EAccountType other)
Parameters

SetEUniverse(EUniverse)

public void SetEUniverse(EUniverse other)
Parameters

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
Returns

explicit operator ulong(CSteamID)

public static explicit operator ulong(CSteamID that)
Parameters
Returns

operator !=(CSteamID, CSteamID)

public static bool operator !=(CSteamID x, CSteamID y)
Parameters
Returns

On this page