Table of Contents

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
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

byte

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

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(ConfirmedInputs<TInput>, ConfirmedInputs<TInput>)

public static bool operator ==(ConfirmedInputs<TInput> left, ConfirmedInputs<TInput> right)

Parameters

left ConfirmedInputs<TInput>
right ConfirmedInputs<TInput>

Returns

bool

operator !=(ConfirmedInputs<TInput>, ConfirmedInputs<TInput>)

public static bool operator !=(ConfirmedInputs<TInput> left, ConfirmedInputs<TInput> right)

Parameters

left ConfirmedInputs<TInput>
right ConfirmedInputs<TInput>

Returns

bool