C# Class LuaSharp.RemoteFunction

Represents a function that allows one Lua state to call another.
Inheritance: ClrFunction
Mostra file Open project: jsimmons/LuaSharp

Public Properties

Property Type Description
Instance RemoteFunction
LookupFunction Lua>.Func

Public Methods

Method Description
RemoteFunction ( ) : System

Initializes a new instance of the LuaSharp.RemoteFunction class.

Protected Methods

Method Description
OnInvoke ( Lua state, object args ) : object[]

Private Methods

Method Description
Invoke ( IntPtr s ) : int

Method Details

OnInvoke() protected method

protected OnInvoke ( Lua state, object args ) : object[]
state Lua
args object
return object[]

RemoteFunction() public method

Initializes a new instance of the LuaSharp.RemoteFunction class.
public RemoteFunction ( ) : System
return System

Property Details

Instance public_oe static_oe property

The function instance.
public static RemoteFunction,LuaSharp Instance
return RemoteFunction

LookupFunction public_oe static_oe property

Performs a lookup
public static Func LookupFunction
return Lua>.Func