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