Struct InputDigitalActionHandle_t
Wraps the Steamworks InputDigitalActionHandle_t handle, a ulong.
Inherited Members
Namespace: Unity.Steamworks.Interop
Assembly: Unity.Steamworks.Interop.dll
Syntax
[Serializable]
public struct InputDigitalActionHandle_t : IEquatable<InputDigitalActionHandle_t>, IComparable<InputDigitalActionHandle_t>
Constructors
InputDigitalActionHandle_t(ulong)
Initializes a new InputDigitalActionHandle_t from its underlying value.
Declaration
public InputDigitalActionHandle_t(ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | value | The underlying |
Fields
m_InputDigitalActionHandle
The underlying ulong value.
Declaration
public ulong m_InputDigitalActionHandle
Field Value
| Type | Description |
|---|---|
| ulong |
Methods
CompareTo(InputDigitalActionHandle_t)
Orders this value against other by their underlying values.
Declaration
public int CompareTo(InputDigitalActionHandle_t other)
Parameters
| Type | Name | Description |
|---|---|---|
| InputDigitalActionHandle_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 InputDigitalActionHandle_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(InputDigitalActionHandle_t)
Returns true when this value equals other.
Declaration
public bool Equals(InputDigitalActionHandle_t other)
Parameters
| Type | Name | Description |
|---|---|---|
| InputDigitalActionHandle_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 ==(InputDigitalActionHandle_t, InputDigitalActionHandle_t)
Returns true when both operands hold the same value.
Declaration
public static bool operator ==(InputDigitalActionHandle_t x, InputDigitalActionHandle_t y)
Parameters
| Type | Name | Description |
|---|---|---|
| InputDigitalActionHandle_t | x | The first value to compare. |
| InputDigitalActionHandle_t | y | The second value to compare. |
Returns
| Type | Description |
|---|---|
| bool | true when the two hold the same underlying value. |
explicit operator InputDigitalActionHandle_t(ulong)
Converts a ulong to a InputDigitalActionHandle_t. Explicit, so two handle types cannot convert into each other through the type they share.
Declaration
public static explicit operator InputDigitalActionHandle_t(ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | value | The underlying |
Returns
| Type | Description |
|---|---|
| InputDigitalActionHandle_t | A |
explicit operator ulong(InputDigitalActionHandle_t)
Converts a InputDigitalActionHandle_t to its underlying ulong.
Declaration
public static explicit operator ulong(InputDigitalActionHandle_t that)
Parameters
| Type | Name | Description |
|---|---|---|
| InputDigitalActionHandle_t | that | The handle to unwrap. |
Returns
| Type | Description |
|---|---|
| ulong | The underlying |
operator !=(InputDigitalActionHandle_t, InputDigitalActionHandle_t)
Returns true when the operands hold different values.
Declaration
public static bool operator !=(InputDigitalActionHandle_t x, InputDigitalActionHandle_t y)
Parameters
| Type | Name | Description |
|---|---|---|
| InputDigitalActionHandle_t | x | The first value to compare. |
| InputDigitalActionHandle_t | y | The second value to compare. |
Returns
| Type | Description |
|---|---|
| bool | true when the two hold different underlying values. |