Barotrauma Client Doc
Barotrauma.LuaSingle Struct Reference

Public Member Functions

 LuaSingle (double v)
 
 LuaSingle (string v)
 
override string ToString ()
 

Static Public Member Functions

static implicit operator float (LuaSingle luaValue)
 

Public Attributes

readonly float Value
 

Detailed Description

Definition at line 191 of file LuaTypes.cs.

Constructor & Destructor Documentation

◆ LuaSingle() [1/2]

Barotrauma.LuaSingle.LuaSingle ( double  v)

Definition at line 195 of file LuaTypes.cs.

◆ LuaSingle() [2/2]

Barotrauma.LuaSingle.LuaSingle ( string  v)

Definition at line 200 of file LuaTypes.cs.

Member Function Documentation

◆ operator float()

static implicit Barotrauma.LuaSingle.operator float ( LuaSingle  luaValue)
static

◆ ToString()

override string Barotrauma.LuaSingle.ToString ( )

Definition at line 207 of file LuaTypes.cs.

Member Data Documentation

◆ Value

readonly float Barotrauma.LuaSingle.Value

Definition at line 193 of file LuaTypes.cs.