Struct HServerListRequest
Wraps the Steamworks HServerListRequest handle, a IntPtr.
Implements
Inherited Members
Namespace: Unity.Steamworks.Interop
Assembly: Unity.Steamworks.Interop.dll
Syntax
[Serializable]
public struct HServerListRequest : IEquatable<HServerListRequest>
Constructors
HServerListRequest(IntPtr)
Initializes a new HServerListRequest from its underlying value.
Declaration
public HServerListRequest(IntPtr value)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | value | The underlying |
Fields
Invalid
The value the SDK reserves to mean "no HServerListRequest".
Declaration
public static readonly HServerListRequest Invalid
Field Value
| Type | Description |
|---|---|
| HServerListRequest |
m_HServerListRequest
The underlying IntPtr value.
Declaration
public IntPtr m_HServerListRequest
Field Value
| Type | Description |
|---|---|
| IntPtr |
Methods
Equals(object)
Returns true when other is a HServerListRequest 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(HServerListRequest)
Returns true when this value equals other.
Declaration
public bool Equals(HServerListRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| HServerListRequest | 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 ==(HServerListRequest, HServerListRequest)
Returns true when both operands hold the same value.
Declaration
public static bool operator ==(HServerListRequest x, HServerListRequest y)
Parameters
| Type | Name | Description |
|---|---|---|
| HServerListRequest | x | The first value to compare. |
| HServerListRequest | y | The second value to compare. |
Returns
| Type | Description |
|---|---|
| bool | true when the two hold the same underlying value. |
explicit operator HServerListRequest(IntPtr)
Converts a IntPtr to a HServerListRequest. Explicit, so two handle types cannot convert into each other through the type they share.
Declaration
public static explicit operator HServerListRequest(IntPtr value)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | value | The underlying |
Returns
| Type | Description |
|---|---|
| HServerListRequest | A |
explicit operator IntPtr(HServerListRequest)
Converts a HServerListRequest to its underlying IntPtr.
Declaration
public static explicit operator IntPtr(HServerListRequest that)
Parameters
| Type | Name | Description |
|---|---|---|
| HServerListRequest | that | The handle to unwrap. |
Returns
| Type | Description |
|---|---|
| IntPtr | The underlying |
operator !=(HServerListRequest, HServerListRequest)
Returns true when the operands hold different values.
Declaration
public static bool operator !=(HServerListRequest x, HServerListRequest y)
Parameters
| Type | Name | Description |
|---|---|---|
| HServerListRequest | x | The first value to compare. |
| HServerListRequest | y | The second value to compare. |
Returns
| Type | Description |
|---|---|
| bool | true when the two hold different underlying values. |