Table of Contents

Class LuaState

Namespace
MoonSharp.Interpreter.Interop.LuaStateInterop
Assembly
Assembly-CSharp.dll
public class LuaState
Inheritance
LuaState
Inherited Members
Extension Methods

Properties

Count

public int Count { get; }

Property Value

int

ExecutionContext

public ScriptExecutionContext ExecutionContext { get; }

Property Value

ScriptExecutionContext

FunctionName

public string FunctionName { get; }

Property Value

string

Methods

At(int)

public DynValue At(int pos)

Parameters

pos int

Returns

DynValue

Discard(int)

public void Discard(int nargs)

Parameters

nargs int

GetReturnValue(int)

public DynValue GetReturnValue(int retvals)

Parameters

retvals int

Returns

DynValue

GetTopArray(int)

public DynValue[] GetTopArray(int num)

Parameters

num int

Returns

DynValue[]

Pop()

public DynValue Pop()

Returns

DynValue

Push(DynValue)

public void Push(DynValue v)

Parameters

v DynValue

Top(int)

public DynValue Top(int pos = 0)

Parameters

pos int

Returns

DynValue