SwiftlyS2

DepotId_t

Struct DepotId_t

Namespace: SwiftlyS2.Shared.SteamAPI

Assembly: SwiftlyS2.CS2.dll

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

Implements

Inherited Members

Constructors

DepotId_t(uint)

public DepotId_t(uint value)
Parameters

Fields

Invalid

public static readonly DepotId_t Invalid
Field Value

m_DepotId

public uint m_DepotId
Field Value

Methods

CompareTo(DepotId_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(DepotId_t other)
Parameters
  • other DepotId_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
Returns
  • booltrue if obj and this instance are the same type and represent the same value; otherwise, false.

Equals(DepotId_t)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DepotId_t other)
Parameters
  • other DepotId_t — An object to compare with this object.
Returns
  • booltrue if the current object is equal to the other parameter; otherwise, false.

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 ==(DepotId_t, DepotId_t)

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

explicit operator DepotId_t(uint)

public static explicit operator DepotId_t(uint value)
Parameters
Returns

explicit operator uint(DepotId_t)

public static explicit operator uint(DepotId_t that)
Parameters
Returns

operator !=(DepotId_t, DepotId_t)

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

On this page