C# 클래스 Schumix.Components.LuaEngine.LuaHelper

Helper functions for the LuaEngine implementation.
파일 보기 프로젝트 열기: Schumix/Schumix2 1 사용 예제들

공개 메소드들

메소드 설명
HandleLuaCommands ( NLua.Lua vm, string chan, string msg ) : void

Handles Lua irc commands, especially interpreting.

RegisterLuaFunctions ( NLua.Lua vm, LuaFunctionDescriptor>.Dictionary &luaFunctions, object target ) : void

Registers Lua functions found in the specified target.

메소드 상세

HandleLuaCommands() 공개 정적인 메소드

Handles Lua irc commands, especially interpreting.
public static HandleLuaCommands ( NLua.Lua vm, string chan, string msg ) : void
vm NLua.Lua Lua virtual machine
chan string Channel name.
msg string Message sent.
리턴 void

RegisterLuaFunctions() 공개 정적인 메소드

Registers Lua functions found in the specified target.
public static RegisterLuaFunctions ( NLua.Lua vm, LuaFunctionDescriptor>.Dictionary &luaFunctions, object target ) : void
vm NLua.Lua The Lua virtual machine.
luaFunctions LuaFunctionDescriptor>.Dictionary Global lua function table.
target object Object (class,struct) to search in.
리턴 void