Barotrauma Server Doc
Barotrauma.Key Class Reference

Public Member Functions

 Key (InputType inputType)
 
void SetState (bool hit, bool held)
 
bool DequeueHit ()
 
bool DequeueHeld ()
 
void Reset ()
 
void ResetHit ()
 
void ResetHeld ()
 

Properties

bool Hit [get, set]
 
bool Held [get, set]
 
bool GetHeldQueue [get]
 
bool GetHitQueue [get]
 

Detailed Description

Definition at line 5 of file PlayerInput.cs.

Constructor & Destructor Documentation

◆ Key()

Barotrauma.Key.Key ( InputType  inputType)

Definition at line 13 of file PlayerInput.cs.

Member Function Documentation

◆ DequeueHeld()

bool Barotrauma.Key.DequeueHeld ( )

Definition at line 88 of file PlayerInput.cs.

◆ DequeueHit()

bool Barotrauma.Key.DequeueHit ( )

Definition at line 81 of file PlayerInput.cs.

◆ Reset()

void Barotrauma.Key.Reset ( )

Definition at line 105 of file PlayerInput.cs.

◆ ResetHeld()

void Barotrauma.Key.ResetHeld ( )

Definition at line 117 of file PlayerInput.cs.

◆ ResetHit()

void Barotrauma.Key.ResetHit ( )

Definition at line 111 of file PlayerInput.cs.

◆ SetState()

void Barotrauma.Key.SetState ( bool  hit,
bool  held 
)

Definition at line 75 of file PlayerInput.cs.

Property Documentation

◆ GetHeldQueue

bool Barotrauma.Key.GetHeldQueue
get

Definition at line 95 of file PlayerInput.cs.

◆ GetHitQueue

bool Barotrauma.Key.GetHitQueue
get

Definition at line 100 of file PlayerInput.cs.

◆ Held

bool Barotrauma.Key.Held
getset

Definition at line 62 of file PlayerInput.cs.

◆ Hit

bool Barotrauma.Key.Hit
getset

Definition at line 50 of file PlayerInput.cs.