parent
cd482d2ae1
commit
b6a8b8221d
1 changed files with 3 additions and 3 deletions
|
|
@ -101,9 +101,9 @@ Hook(""doesntmatter"", ""hookmeee"", hookme)");
|
|||
public void RegisterLuaFunctions()
|
||||
{
|
||||
LuaFunctions LuaFuncs = new LuaFunctions(this);
|
||||
Lua.RegisterFunction("print", LuaFuncs, LuaFuncs.GetType().GetMethod("Print"));
|
||||
Lua.RegisterFunction("hook.Add", LuaFuncs, LuaFuncs.GetType().GetMethod("HookAdd"));
|
||||
Lua.RegisterFunction("hook.Remove", LuaFuncs, LuaFuncs.GetType().GetMethod("HookRemove"));
|
||||
Lua.RegisterFunction("Print", LuaFuncs, LuaFuncs.GetType().GetMethod("Print"));
|
||||
Lua.RegisterFunction("HookAdd", LuaFuncs, LuaFuncs.GetType().GetMethod("HookAdd"));
|
||||
Lua.RegisterFunction("HookRemove", LuaFuncs, LuaFuncs.GetType().GetMethod("HookRemove"));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue