Barotrauma Client Doc
Barotrauma.ReadOnlyBitField Class Reference

Public Member Functions

 ReadOnlyBitField (IReadMessage inc)
 
bool ReadBoolean ()
 
int ReadInteger (int min, int max)
 
float ReadFloat (float min, float max, int numberOfBits)
 

Detailed Description

Definition at line 87 of file NetStructBitField.cs.

Constructor & Destructor Documentation

◆ ReadOnlyBitField()

Barotrauma.ReadOnlyBitField.ReadOnlyBitField ( IReadMessage  inc)

Definition at line 93 of file NetStructBitField.cs.

Member Function Documentation

◆ ReadBoolean()

bool Barotrauma.ReadOnlyBitField.ReadBoolean ( )

Definition at line 112 of file NetStructBitField.cs.

◆ ReadFloat()

float Barotrauma.ReadOnlyBitField.ReadFloat ( float  min,
float  max,
int  numberOfBits 
)

Definition at line 134 of file NetStructBitField.cs.

◆ ReadInteger()

int Barotrauma.ReadOnlyBitField.ReadInteger ( int  min,
int  max 
)

Definition at line 120 of file NetStructBitField.cs.