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

        try
        {
            List <ConfigDataWaypointInfo> wayPointInfos;
            LuaObject.checkType <List <ConfigDataWaypointInfo> >(l, 1, out wayPointInfos);
            Dictionary <int, WayPointStatus> wayPointStates;
            LuaObject.checkType <Dictionary <int, WayPointStatus> >(l, 2, out wayPointStates);
            string functionType;
            LuaObject.checkType(l, 3, out functionType);
            string optionType;
            LuaObject.checkType(l, 4, out optionType);
            string selectStandard;
            LuaObject.checkType(l, 5, out selectStandard);
            string s = CommonReportLog.WayPointReportLog(wayPointInfos, wayPointStates, functionType, optionType, selectStandard);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

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

        try
        {
            Dictionary <string, int> dict;
            LuaObject.checkType <Dictionary <string, int> >(l, 1, out dict);
            string s = CommonReportLog.StringDictionaryReportLog(dict);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int Message_s(IntPtr l)
    {
        int result;

        try
        {
            int total = LuaDLL.lua_gettop(l);
            if (LuaObject.matchType(l, total, 1, typeof(List <BattleCommand>), typeof(string)))
            {
                List <BattleCommand> commands;
                LuaObject.checkType <List <BattleCommand> >(l, 1, out commands);
                string ownerName;
                LuaObject.checkType(l, 2, out ownerName);
                string s = CommonReportLog.Message(commands, ownerName);
                LuaObject.pushValue(l, true);
                LuaObject.pushValue(l, s);
                result = 2;
            }
            else if (LuaObject.matchType(l, total, 1, typeof(List <BattleActorSetup>), typeof(string)))
            {
                List <BattleActorSetup> team;
                LuaObject.checkType <List <BattleActorSetup> >(l, 1, out team);
                string teamName;
                LuaObject.checkType(l, 2, out teamName);
                string s2 = CommonReportLog.Message(team, teamName);
                LuaObject.pushValue(l, true);
                LuaObject.pushValue(l, s2);
                result = 2;
            }
            else
            {
                LuaObject.pushValue(l, false);
                LuaDLL.lua_pushstring(l, "No matched override function Message to call");
                result = 2;
            }
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int RandomEventsReportLog_s(IntPtr l)
    {
        int result;

        try
        {
            List <RandomEvent> randomEvents;
            LuaObject.checkType <List <RandomEvent> >(l, 1, out randomEvents);
            string optionType;
            LuaObject.checkType(l, 2, out optionType);
            string s = CommonReportLog.RandomEventsReportLog(randomEvents, optionType);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int RandomEventLevelZoneReportLog_s(IntPtr l)
    {
        int result;

        try
        {
            RandomEventLevelZone zone;
            LuaObject.checkType <RandomEventLevelZone>(l, 1, out zone);
            string zoneName;
            LuaObject.checkType(l, 2, out zoneName);
            string s = CommonReportLog.RandomEventLevelZoneReportLog(zone, zoneName);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int RandomEventLevelZonesReportLog_s(IntPtr l)
    {
        int result;

        try
        {
            List <RandomEventLevelZone> zones;
            LuaObject.checkType <List <RandomEventLevelZone> >(l, 1, out zones);
            string logHeader;
            LuaObject.checkType(l, 2, out logHeader);
            string s = CommonReportLog.RandomEventLevelZonesReportLog(zones, logHeader);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int ProGoodsListReport_s(IntPtr l)
    {
        int result;

        try
        {
            List <ProGoods> pbGoodsList;
            LuaObject.checkType <List <ProGoods> >(l, 1, out pbGoodsList);
            string desc;
            LuaObject.checkType(l, 2, out desc);
            string s = CommonReportLog.ProGoodsListReport(pbGoodsList, desc);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int BattleRoomBattle_s(IntPtr l)
    {
        int result;

        try
        {
            BattleRoomBattleLog log;
            LuaObject.checkType <BattleRoomBattleLog>(l, 1, out log);
            string owner;
            LuaObject.checkType(l, 2, out owner);
            string s = CommonReportLog.BattleRoomBattle(log, owner);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int InitDictionary_s(IntPtr l)
    {
        int result;

        try
        {
            Dictionary <int, int> dict;
            LuaObject.checkType <Dictionary <int, int> >(l, 1, out dict);
            string dictName;
            LuaObject.checkType(l, 2, out dictName);
            string s = CommonReportLog.InitDictionary(dict, dictName);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int IntListReportLog_s(IntPtr l)
    {
        int result;

        try
        {
            List <int> list;
            LuaObject.checkType <List <int> >(l, 1, out list);
            string listName;
            LuaObject.checkType(l, 2, out listName);
            string s = CommonReportLog.IntListReportLog(list, listName);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }