Class SteamID
- Namespace
- CounterStrikeSharp.API.Modules.Entities
- Assembly
- CounterStrikeSharp.API.dll
public class SteamID : IEquatable<SteamID>
- Inheritance
-
objectSteamID
- Implements
Constructors
SteamID(string)
public SteamID(string id)
Parameters
id
string
SteamID(ulong)
public SteamID(ulong id)
Parameters
id
ulong
Properties
AccountId
public int AccountId { get; }
Property Value
AccountInstance
public SteamAccountInstance AccountInstance { get; }
Property Value
AccountType
public SteamAccountType AccountType { get; }
Property Value
AccountUniverse
public SteamAccountUniverse AccountUniverse { get; }
Property Value
SteamId2
public string SteamId2 { get; set; }
Property Value
SteamId3
public string SteamId3 { get; set; }
Property Value
SteamId32
public int SteamId32 { get; set; }
Property Value
SteamId64
public ulong SteamId64 { get; set; }
Property Value
Methods
Equals(SteamID?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SteamID? other)
Parameters
other
SteamIDAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsValid()
public bool IsValid()
Returns
ToCommunityUrl()
public Uri ToCommunityUrl()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
TryParse(string, out SteamID?)
public static bool TryParse(string s, out SteamID? steamId)
Parameters
Returns
Operators
operator ==(SteamID?, SteamID?)
public static bool operator ==(SteamID? left, SteamID? right)
Parameters
Returns
explicit operator SteamID(string)
public static explicit operator SteamID(string s)
Parameters
s
string
Returns
explicit operator SteamID(ulong)
public static explicit operator SteamID(ulong u)
Parameters
u
ulong
Returns
operator !=(SteamID?, SteamID?)
public static bool operator !=(SteamID? left, SteamID? right)