PixelCrushers.DialogueSystem.Lua.Result Struct Reference

Stores a Lua interpreter result (LuaValue) and provides easy conversion to basic types. More...

Collaboration diagram for PixelCrushers.DialogueSystem.Lua.Result:

Public Member Functions

 Result (Language.Lua.LuaValue luaValue)
 

Public Attributes

Language.Lua.LuaValue luaValue
 
LuaTableWrapper luaTableWrapper
 

Properties

bool HasReturnValue [get]
 
string? AsString [get]
 
bool? AsBool [get]
 
float? AsFloat [get]
 
int? AsInt [get]
 
LuaTableWrapper AsTable [get]
 
bool IsString [get]
 
bool IsBool [get]
 
bool IsNumber [get]
 
bool IsTable [get]
 

Detailed Description

Stores a Lua interpreter result (LuaValue) and provides easy conversion to basic types.

Constructor & Destructor Documentation

◆ Result()

PixelCrushers.DialogueSystem.Lua.Result.Result ( Language.Lua.LuaValue  luaValue)

Member Data Documentation

◆ luaTableWrapper

LuaTableWrapper PixelCrushers.DialogueSystem.Lua.Result.luaTableWrapper

◆ luaValue

Language.Lua.LuaValue PixelCrushers.DialogueSystem.Lua.Result.luaValue

Property Documentation

◆ AsBool

bool? PixelCrushers.DialogueSystem.Lua.Result.AsBool
get

◆ AsFloat

float? PixelCrushers.DialogueSystem.Lua.Result.AsFloat
get

◆ AsInt

int? PixelCrushers.DialogueSystem.Lua.Result.AsInt
get

◆ AsString

string? PixelCrushers.DialogueSystem.Lua.Result.AsString
get

◆ AsTable

LuaTableWrapper PixelCrushers.DialogueSystem.Lua.Result.AsTable
get

◆ HasReturnValue

bool PixelCrushers.DialogueSystem.Lua.Result.HasReturnValue
get

◆ IsBool

bool PixelCrushers.DialogueSystem.Lua.Result.IsBool
get

◆ IsNumber

bool PixelCrushers.DialogueSystem.Lua.Result.IsNumber
get

◆ IsString

bool PixelCrushers.DialogueSystem.Lua.Result.IsString
get

◆ IsTable

bool PixelCrushers.DialogueSystem.Lua.Result.IsTable
get

The documentation for this struct was generated from the following file: