Struct NetworkBitStream
This type represents a pointer to an unmanaged open.mp NetworkBitStream interface.
[OpenMpApi(new Type[] { })]
public readonly struct NetworkBitStream : IEquatable<NetworkBitStream>, NetworkBitStream.IManagedInterface, IUnmanagedInterface
- Implements
- Inherited Members
Constructors
NetworkBitStream(nint)
Initializes a new instance of the NetworkBitStream struct.
public NetworkBitStream(nint handle)
Parameters
handlenintA pointer to the unmanaged interface.
Properties
Handle
Gets the handle to the unmanaged interface instance.
public nint Handle { get; }
Property Value
HasValue
Gets a value indicating whether the pointer has a value.
public bool HasValue { get; }
Property Value
Methods
Equals(NetworkBitStream)
public bool Equals(NetworkBitStream other)
Parameters
otherNetworkBitStream
Returns
Equals(object?)
public override bool Equals(object? other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(NetworkBitStream, object?)
Determines whether the specified values are equal.
public static bool operator ==(NetworkBitStream lhs, object? rhs)
Parameters
lhsNetworkBitStreamThe value on the left side of the operator.
rhsobjectThe value on the right side of the operator.
Returns
- bool
trueif the values are equal; otherwise,false.
operator !=(NetworkBitStream, object?)
Determines whether the specified values are not equal.
public static bool operator !=(NetworkBitStream lhs, object? rhs)
Parameters
lhsNetworkBitStreamThe value on the left side of the operator.
rhsobjectThe value on the right side of the operator.
Returns
- bool
trueif the values are not equal; otherwise,false.