Struct ConfirmedInputs<TInput>
- Namespace
- Backdash.Synchronizing.Input.Confirmed
- Assembly
- Backdash.dll
All confirmed inputs for all players
public struct ConfirmedInputs<TInput> : IEquatable<ConfirmedInputs<TInput>> where TInput : unmanaged
Type Parameters
TInput
- Implements
-
IEquatable<ConfirmedInputs<TInput>>
- Inherited Members
Constructors
ConfirmedInputs()
Initialized ConfirmedInputs<TInput> with full size
public ConfirmedInputs()
ConfirmedInputs(ReadOnlySpan<TInput>)
Initialized ConfirmedInputs<TInput> from span
public ConfirmedInputs(ReadOnlySpan<TInput> inputs)
Parameters
inputs
ReadOnlySpan<TInput>
Fields
Count
Number of inputs
public byte Count
Field Value
Inputs
Input array
public InputArray<TInput> Inputs
Field Value
- InputArray<TInput>
Methods
Equals(ConfirmedInputs<TInput>)
public readonly bool Equals(ConfirmedInputs<TInput> other)
Parameters
other
ConfirmedInputs<TInput>
Returns
Equals(object)
public override readonly bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(ConfirmedInputs<TInput>, ConfirmedInputs<TInput>)
public static bool operator ==(ConfirmedInputs<TInput> left, ConfirmedInputs<TInput> right)
Parameters
left
ConfirmedInputs<TInput>right
ConfirmedInputs<TInput>
Returns
operator !=(ConfirmedInputs<TInput>, ConfirmedInputs<TInput>)
public static bool operator !=(ConfirmedInputs<TInput> left, ConfirmedInputs<TInput> right)
Parameters
left
ConfirmedInputs<TInput>right
ConfirmedInputs<TInput>