Photon Quantum 3.0.0

Static Public Member Functions | List of all members
Quantum.InputProviderExtensions Class Reference

Input provider extension methods. More...

Static Public Member Functions

static void Clear (this DeterministicTickInput input)
 Clear an input data object. More...
 
static void Clear (this DeterministicTickInputSet set)
 Clear this input set. More...
 
static void CopyFrom (this DeterministicTickInput input, DeterministicTickInput otherInput)
 Copy and clone an input data object. More...
 
static bool IsComplete (this DeterministicTickInputSet set)
 Return true if the input set has valid input for each player. More...
 
static bool IsFinished (this DeterministicTickInputSet set)
 Return true if this set is completed and sent. More...
 
static void Set (this DeterministicTickInput input, DeterministicFrameInputTemp temp)
 Set the content of a DeterministicTickInput from a DeterministicFrameInputTemp. More...
 

Detailed Description

Input provider extension methods.

Member Function Documentation

◆ CopyFrom()

static void Quantum.InputProviderExtensions.CopyFrom ( this DeterministicTickInput  input,
DeterministicTickInput  otherInput 
)
inlinestatic

Copy and clone an input data object.

Parameters
inputDestination input
otherInputSource input

◆ Clear() [1/2]

static void Quantum.InputProviderExtensions.Clear ( this DeterministicTickInput  input)
inlinestatic

Clear an input data object.

Parameters
inputInput to clear

◆ Set()

static void Quantum.InputProviderExtensions.Set ( this DeterministicTickInput  input,
DeterministicFrameInputTemp  temp 
)
inlinestatic

Set the content of a DeterministicTickInput from a DeterministicFrameInputTemp.

Parameters
inputDestination input
tempSource input

◆ Clear() [2/2]

static void Quantum.InputProviderExtensions.Clear ( this DeterministicTickInputSet  set)
inlinestatic

Clear this input set.

Parameters
setInput set

◆ IsComplete()

static bool Quantum.InputProviderExtensions.IsComplete ( this DeterministicTickInputSet  set)
inlinestatic

Return true if the input set has valid input for each player.

Parameters
setInput set
Returns
True if the set is complete

◆ IsFinished()

static bool Quantum.InputProviderExtensions.IsFinished ( this DeterministicTickInputSet  set)
inlinestatic

Return true if this set is completed and sent.

Parameters
setInput set to check
Returns
True if all inputs in this set are valid and have been sent