swiftlys2/docs/api/ai/
API Reference SteamAPI

SteamItemInstanceID_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
[Serializable]
public struct SteamItemInstanceID_t : IEquatable<SteamItemInstanceID_t>, IComparable<SteamItemInstanceID_t>
View source

Constructors

SteamItemInstanceID_t(ulong)

public SteamItemInstanceID_t(ulong value)
Parameters

Methods

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

Equals(SteamItemInstanceID_t)

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

public bool Equals(SteamItemInstanceID_t other)
Parameters
Returns
true 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
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
The fully qualified type name.

Fields

Invalid

public static readonly SteamItemInstanceID_t Invalid

m_SteamItemInstanceID

public ulong m_SteamItemInstanceID
Field Value

Operators

operator ==(SteamItemInstanceID_t, SteamItemInstanceID_t)

public static bool operator ==(SteamItemInstanceID_t x, SteamItemInstanceID_t y)
Returns

explicit operator SteamItemInstanceID_t(ulong)

public static explicit operator SteamItemInstanceID_t(ulong value)
Parameters

explicit operator ulong(SteamItemInstanceID_t)

public static explicit operator ulong(SteamItemInstanceID_t that)
Parameters
Returns

operator !=(SteamItemInstanceID_t, SteamItemInstanceID_t)

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