public static int GetGlobalEventQueue_s(IntPtr l)
    {
        int result;

        try
        {
            IntPtr globalEventQueue = UnityEventQueueSystem.GetGlobalEventQueue();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, globalEventQueue);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            UnityEventQueueSystem o = new UnityEventQueueSystem();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int GenerateEventIdForPayload_s(IntPtr l)
    {
        int result;

        try
        {
            string eventPayloadName;
            LuaObject.checkType(l, 1, out eventPayloadName);
            string s = UnityEventQueueSystem.GenerateEventIdForPayload(eventPayloadName);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }