Example #1
0
    static int get_LuaCallBackManager(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LuaLoadReses       obj = (LuaLoadReses)o;
            LuaCallBackManager ret = obj.LuaCallBackManager;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index LuaCallBackManager on a nil value"));
        }
    }
 private LuaLoadReses()
 {
     luaCallManager = new LuaCallBackManager();
 }