UGCHandle_t
Struct UGCHandle_t
Namespace: SwiftlyS2.Shared.SteamAPI
Assembly: SwiftlyS2.CS2.dll
[Serializable]
public struct UGCHandle_t : IEquatable<UGCHandle_t>, IComparable<UGCHandle_t>Implements
Inherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Constructors
UGCHandle_t(ulong)
public UGCHandle_t(ulong value)Parameters
- value ulong
Fields
Invalid
public static readonly UGCHandle_t InvalidField Value
m_UGCHandle
public ulong m_UGCHandleField Value
Methods
CompareTo(UGCHandle_t)
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(UGCHandle_t other)Parameters
- other UGCHandle_t — 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. |
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(UGCHandle_t)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(UGCHandle_t other)Parameters
- other UGCHandle_t — An object to compare with this object.
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.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()Returns
- string — The fully qualified type name.
Operators
operator ==(UGCHandle_t, UGCHandle_t)
public static bool operator ==(UGCHandle_t x, UGCHandle_t y)Parameters
Returns
explicit operator UGCHandle_t(ulong)
public static explicit operator UGCHandle_t(ulong value)Parameters
- value ulong
Returns
explicit operator ulong(UGCHandle_t)
public static explicit operator ulong(UGCHandle_t that)Parameters
- that UGCHandle_t
Returns
operator !=(UGCHandle_t, UGCHandle_t)
public static bool operator !=(UGCHandle_t x, UGCHandle_t y)Parameters
Returns