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

        try
        {
            RaffleComponentCommon raffleComponentCommon     = (RaffleComponentCommon)LuaObject.checkSelf(l);
            List <int>            allOpenActivityRafflePool = raffleComponentCommon.GetAllOpenActivityRafflePool();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, allOpenActivityRafflePool);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }