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