static int Reset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Assets.Script.Frame.EventSystem obj = (Assets.Script.Frame.EventSystem)ToLua.CheckObject(L, 1, typeof(Assets.Script.Frame.EventSystem));
         obj.Reset();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int UnRegistReceiver(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         Assets.Script.Frame.EventSystem obj = (Assets.Script.Frame.EventSystem)ToLua.CheckObject(L, 1, typeof(Assets.Script.Frame.EventSystem));
         int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         Assets.Script.Frame.IEventReceiver arg1 = (Assets.Script.Frame.IEventReceiver)ToLua.CheckObject(L, 3, typeof(Assets.Script.Frame.IEventReceiver));
         obj.UnRegistReceiver(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int set_receivers(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Assets.Script.Frame.EventSystem obj = (Assets.Script.Frame.EventSystem)o;
            System.Collections.Generic.Dictionary <int, System.Collections.Generic.List <Assets.Script.Frame.IEventReceiver> > arg0 = (System.Collections.Generic.Dictionary <int, System.Collections.Generic.List <Assets.Script.Frame.IEventReceiver> >)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Dictionary <int, System.Collections.Generic.List <Assets.Script.Frame.IEventReceiver> >));
            obj.receivers = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index receivers on a nil value" : e.Message));
        }
    }
    static int set_evtQueue(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Assets.Script.Frame.EventSystem obj = (Assets.Script.Frame.EventSystem)o;
            System.Collections.Generic.Queue <Assets.Script.Frame.IEvent> arg0 = (System.Collections.Generic.Queue <Assets.Script.Frame.IEvent>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Queue <Assets.Script.Frame.IEvent>));
            obj.evtQueue = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index evtQueue on a nil value" : e.Message));
        }
    }
    static int get_receivers(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Assets.Script.Frame.EventSystem obj = (Assets.Script.Frame.EventSystem)o;
            System.Collections.Generic.Dictionary <int, System.Collections.Generic.List <Assets.Script.Frame.IEventReceiver> > ret = obj.receivers;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index receivers on a nil value" : e.Message));
        }
    }
    static int get_evtQueue(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Assets.Script.Frame.EventSystem obj = (Assets.Script.Frame.EventSystem)o;
            System.Collections.Generic.Queue <Assets.Script.Frame.IEvent> ret = obj.evtQueue;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index evtQueue on a nil value" : e.Message));
        }
    }
    static int _CreateAssets_Script_Frame_EventSystem(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                Assets.Script.Frame.EventSystem obj = new Assets.Script.Frame.EventSystem();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: Assets.Script.Frame.EventSystem.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }