Struct RemotePlayCursorID_t
Wraps the Steamworks RemotePlayCursorID_t handle, a uint.
Inherited Members
Namespace: Unity.Steamworks.Interop
Assembly: Unity.Steamworks.Interop.dll
Syntax
[Serializable]
public struct RemotePlayCursorID_t : IEquatable<RemotePlayCursorID_t>, IComparable<RemotePlayCursorID_t>
Constructors
RemotePlayCursorID_t(uint)
Initializes a new RemotePlayCursorID_t from its underlying value.
Declaration
public RemotePlayCursorID_t(uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | value | The underlying |
Fields
m_RemotePlayCursorID
The underlying uint value.
Declaration
public uint m_RemotePlayCursorID
Field Value
| Type | Description |
|---|---|
| uint |
Methods
CompareTo(RemotePlayCursorID_t)
Orders this value against other by their underlying values.
Declaration
public int CompareTo(RemotePlayCursorID_t other)
Parameters
| Type | Name | Description |
|---|---|---|
| RemotePlayCursorID_t | other | The value to compare against. |
Returns
| Type | Description |
|---|---|
| int | Negative, zero or positive as this value sorts before, with or after |
Equals(object)
Returns true when other is a RemotePlayCursorID_t with the same value.
Declaration
public override bool Equals(object other)
Parameters
| Type | Name | Description |
|---|---|---|
| object | other | The object to compare against. |
Returns
| Type | Description |
|---|---|
| bool | true when |
Overrides
Equals(RemotePlayCursorID_t)
Returns true when this value equals other.
Declaration
public bool Equals(RemotePlayCursorID_t other)
Parameters
| Type | Name | Description |
|---|---|---|
| RemotePlayCursorID_t | other | The value to compare against. |
Returns
| Type | Description |
|---|---|
| bool | true when both hold the same underlying value. |
GetHashCode()
Returns the hash code of the underlying value.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The underlying value's hash code. |
Overrides
ToString()
Returns the underlying value as a string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The underlying value formatted by its own |
Overrides
Operators
operator ==(RemotePlayCursorID_t, RemotePlayCursorID_t)
Returns true when both operands hold the same value.
Declaration
public static bool operator ==(RemotePlayCursorID_t x, RemotePlayCursorID_t y)
Parameters
| Type | Name | Description |
|---|---|---|
| RemotePlayCursorID_t | x | The first value to compare. |
| RemotePlayCursorID_t | y | The second value to compare. |
Returns
| Type | Description |
|---|---|
| bool | true when the two hold the same underlying value. |
explicit operator RemotePlayCursorID_t(uint)
Converts a uint to a RemotePlayCursorID_t. Explicit, so two handle types cannot convert into each other through the type they share.
Declaration
public static explicit operator RemotePlayCursorID_t(uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | value | The underlying |
Returns
| Type | Description |
|---|---|
| RemotePlayCursorID_t | A |
explicit operator uint(RemotePlayCursorID_t)
Converts a RemotePlayCursorID_t to its underlying uint.
Declaration
public static explicit operator uint(RemotePlayCursorID_t that)
Parameters
| Type | Name | Description |
|---|---|---|
| RemotePlayCursorID_t | that | The handle to unwrap. |
Returns
| Type | Description |
|---|---|
| uint | The underlying |
operator !=(RemotePlayCursorID_t, RemotePlayCursorID_t)
Returns true when the operands hold different values.
Declaration
public static bool operator !=(RemotePlayCursorID_t x, RemotePlayCursorID_t y)
Parameters
| Type | Name | Description |
|---|---|---|
| RemotePlayCursorID_t | x | The first value to compare. |
| RemotePlayCursorID_t | y | The second value to compare. |
Returns
| Type | Description |
|---|---|
| bool | true when the two hold different underlying values. |