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

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

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, configDataBattleEventActionInfo.ReliefRandomArmies_ID);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_ActionType(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushEnum(l, (int)configDataBattleEventActionInfo.ActionType);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_m_reliefGroupBehaviors(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, configDataBattleEventActionInfo.m_reliefGroupBehaviors);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int Param2FirstValue(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            int i = configDataBattleEventActionInfo.Param2FirstValue();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int Initialize(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            bool b = configDataBattleEventActionInfo.Initialize();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_Param5(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            string param;
            LuaObject.checkType(l, 2, out param);
            configDataBattleEventActionInfo.Param5 = param;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_ActionType(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            BattleEventActionType           actionType;
            LuaObject.checkEnum <BattleEventActionType>(l, 2, out actionType);
            configDataBattleEventActionInfo.ActionType = actionType;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_NameStrKey(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            string nameStrKey;
            LuaObject.checkType(l, 2, out nameStrKey);
            configDataBattleEventActionInfo.NameStrKey = nameStrKey;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_ID(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            int id;
            LuaObject.checkType(l, 2, out id);
            configDataBattleEventActionInfo.ID = id;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_reliefGroupBehaviors(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataBattleEventActionInfo configDataBattleEventActionInfo = (ConfigDataBattleEventActionInfo)LuaObject.checkSelf(l);
            Dictionary <int, int>           reliefGroupBehaviors;
            LuaObject.checkType <Dictionary <int, int> >(l, 2, out reliefGroupBehaviors);
            configDataBattleEventActionInfo.m_reliefGroupBehaviors = reliefGroupBehaviors;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int ComputeGroupBehaviorDict_s(IntPtr l)
    {
        int result;

        try
        {
            List <int> groups;
            LuaObject.checkType <List <int> >(l, 1, out groups);
            List <int> behaviors;
            LuaObject.checkType <List <int> >(l, 2, out behaviors);
            Dictionary <int, int> o = ConfigDataBattleEventActionInfo.ComputeGroupBehaviorDict(groups, behaviors);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }