Struct UGCHandle
- Namespace
- MarymoorStudios.Core.Steamworks
- Assembly
- MarymoorStudios.Core.Steamworks.dll
public readonly struct UGCHandle : IEquatable<UGCHandle>, IComparable<UGCHandle>
- Implements
- Inherited Members
Constructors
UGCHandle(ulong)
public UGCHandle(ulong id)
Parameters
id
ulong
Properties
Id
The underlying value.
public ulong Id { get; }
Property Value
Invalid
The invalid id.
public static ulong Invalid { get; }
Property Value
IsValid
True if not Invalid.
public bool IsValid { get; }
Property Value
Methods
CompareTo(UGCHandle)
Value-based comparison.
public int CompareTo(UGCHandle other)
Parameters
other
UGCHandle
Returns
Equals(UGCHandle)
Value-based equality.
public bool Equals(UGCHandle other)
Parameters
other
UGCHandle
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(UGCHandle, UGCHandle)
Value-based equality.
public static bool operator ==(UGCHandle left, UGCHandle right)
Parameters
Returns
operator >(UGCHandle, UGCHandle)
Value-based comparison.
public static bool operator >(UGCHandle left, UGCHandle right)
Parameters
Returns
operator >=(UGCHandle, UGCHandle)
Value-based comparison.
public static bool operator >=(UGCHandle left, UGCHandle right)
Parameters
Returns
operator !=(UGCHandle, UGCHandle)
Value-based equality.
public static bool operator !=(UGCHandle left, UGCHandle right)
Parameters
Returns
operator <(UGCHandle, UGCHandle)
Value-based comparison.
public static bool operator <(UGCHandle left, UGCHandle right)
Parameters
Returns
operator <=(UGCHandle, UGCHandle)
Value-based comparison.
public static bool operator <=(UGCHandle left, UGCHandle right)