Barotrauma Client Doc
Barotrauma.LuaByte Struct Reference

Public Member Functions

 LuaByte (double v)
 
 LuaByte (string v, int radix=10)
 
override string ToString ()
 

Static Public Member Functions

static implicit operator byte (LuaByte luaValue)
 

Public Attributes

readonly byte Value
 

Detailed Description

Definition at line 27 of file LuaTypes.cs.

Constructor & Destructor Documentation

◆ LuaByte() [1/2]

Barotrauma.LuaByte.LuaByte ( double  v)

Definition at line 31 of file LuaTypes.cs.

◆ LuaByte() [2/2]

Barotrauma.LuaByte.LuaByte ( string  v,
int  radix = 10 
)

Definition at line 36 of file LuaTypes.cs.

Member Function Documentation

◆ operator byte()

static implicit Barotrauma.LuaByte.operator byte ( LuaByte  luaValue)
static

◆ ToString()

override string Barotrauma.LuaByte.ToString ( )

Definition at line 43 of file LuaTypes.cs.

Member Data Documentation

◆ Value

readonly byte Barotrauma.LuaByte.Value

Definition at line 29 of file LuaTypes.cs.