Table of Contents

Struct SteamInventoryResult

Namespace
MarymoorStudios.Core.Steamworks
Assembly
MarymoorStudios.Core.Steamworks.dll
public readonly struct SteamInventoryResult : IEquatable<SteamInventoryResult>, IComparable<SteamInventoryResult>
Implements
Inherited Members

Constructors

SteamInventoryResult(int)

public SteamInventoryResult(int id)

Parameters

id int

Properties

Id

The underlying value.

public int Id { get; }

Property Value

int

Invalid

The invalid id.

public static int Invalid { get; }

Property Value

int

IsValid

True if not Invalid.

public bool IsValid { get; }

Property Value

bool

Methods

CompareTo(SteamInventoryResult)

Value-based comparison.

public int CompareTo(SteamInventoryResult other)

Parameters

other SteamInventoryResult

Returns

int

Equals(SteamInventoryResult)

Value-based equality.

public bool Equals(SteamInventoryResult other)

Parameters

other SteamInventoryResult

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SteamInventoryResult, SteamInventoryResult)

Value-based equality.

public static bool operator ==(SteamInventoryResult left, SteamInventoryResult right)

Parameters

left SteamInventoryResult
right SteamInventoryResult

Returns

bool

operator >(SteamInventoryResult, SteamInventoryResult)

Value-based comparison.

public static bool operator >(SteamInventoryResult left, SteamInventoryResult right)

Parameters

left SteamInventoryResult
right SteamInventoryResult

Returns

bool

operator >=(SteamInventoryResult, SteamInventoryResult)

Value-based comparison.

public static bool operator >=(SteamInventoryResult left, SteamInventoryResult right)

Parameters

left SteamInventoryResult
right SteamInventoryResult

Returns

bool

operator !=(SteamInventoryResult, SteamInventoryResult)

Value-based equality.

public static bool operator !=(SteamInventoryResult left, SteamInventoryResult right)

Parameters

left SteamInventoryResult
right SteamInventoryResult

Returns

bool

operator <(SteamInventoryResult, SteamInventoryResult)

Value-based comparison.

public static bool operator <(SteamInventoryResult left, SteamInventoryResult right)

Parameters

left SteamInventoryResult
right SteamInventoryResult

Returns

bool

operator <=(SteamInventoryResult, SteamInventoryResult)

Value-based comparison.

public static bool operator <=(SteamInventoryResult left, SteamInventoryResult right)

Parameters

left SteamInventoryResult
right SteamInventoryResult

Returns

bool