少年修仙传客户端代码仓库
client_linchunjie
2019-02-25 8be0f21cae73089ad6c19ac4a5b72e7c8a724144
3335 删除无用配置
5个文件已修改
73 ■■■■■ 已修改文件
Lua/Gen/BlastFurnaceModelWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzGameWrap.cs 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/WeekPartyPointConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BlastFurnace/BlastFurnaceModel.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GeneralConfig/GeneralDefine.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/BlastFurnaceModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(BlastFurnaceModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 48, 26, 12);
            Utils.BeginObjectRegister(type, L, translator, 0, 48, 25, 12);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -74,7 +74,6 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshSelectRecycleAct", _e_RefreshSelectRecycleAct);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sTreasureModel", _g_get_sTreasureModel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "extraMats", _g_get_extraMats);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxStoveLv", _g_get_MaxStoveLv);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alchemyModellist", _g_get_alchemyModellist);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToPrescripe", _g_get_jumpToPrescripe);
@@ -1442,20 +1441,6 @@
            
                BlastFurnaceModel gen_to_be_invoked = (BlastFurnaceModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.sTreasureModel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_extraMats(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                BlastFurnaceModel gen_to_be_invoked = (BlastFurnaceModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.extraMats);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
Lua/Gen/SnxxzGameWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(SnxxzGame);
            Utils.BeginObjectRegister(type, L, translator, 0, 11, 0, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 12, 0, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddUpdateAction", _m_AddUpdateAction);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveUpdateAction", _m_RemoveUpdateAction);
@@ -34,6 +34,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "StartTimePause", _m_StartTimePause);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "MovingCamera", _m_MovingCamera);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetCamera", _m_ResetCamera);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "StopAllCameraCo", _m_StopAllCameraCo);
            
            
            
@@ -391,6 +392,33 @@
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StopAllCameraCo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SnxxzGame gen_to_be_invoked = (SnxxzGame)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.StopAllCameraCo(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        
        
        
Lua/Gen/WeekPartyPointConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(WeekPartyPointConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 4, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 5, 0);
            
            
            
@@ -29,6 +29,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ImageType1", _g_get_ImageType1);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ImageType2", _g_get_ImageType2);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Zoom", _g_get_Zoom);
            
            
            
@@ -332,6 +333,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Zoom(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                WeekPartyPointConfig gen_to_be_invoked = (WeekPartyPointConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.Zoom);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
System/BlastFurnace/BlastFurnaceModel.cs
@@ -25,7 +25,6 @@
    private FuncConfigConfig _blastFurnaceExpModel;
    private ItemConfig chinItemModel;
    private Dictionary<int, int> _blastFurnaceExpDict;
    public int[] extraMats { get; private set; }
    public int MaxStoveLv { get; private set; }
    public List<AlchemyConfig> alchemyModellist { get; private set; }
@@ -47,12 +46,6 @@
        ParseAlchemyConfig();
        ParseAlchemySpecConfig();
        _blastFurnaceExpDict = new Dictionary<int, int>();
        extraMats = null;
        _upTreasureRateModel = FuncConfigConfig.Get("TreasureUpRateItem");
        if (_upTreasureRateModel != null)
        {
            extraMats = ConfigParse.GetMultipleStr<int>(_upTreasureRateModel.Numerical2);
        }
        List<RefineStoveConfig> stovelist = RefineStoveConfig.GetValues();
        MaxStoveLv = 0;
        if (stovelist != null)
System/GeneralConfig/GeneralDefine.cs
@@ -11,7 +11,6 @@
{
    public static int greatMasterStartLV { get; private set; }
    public static int playerMaxLevel { get; private set; }
    public static float potentialUpSuccessRecommend { get; private set; }
    public static int[] kylinHomeCollectItems;
    public static List<int> dailyQuestOpenTime;
    public static int flyBootItemId { get; private set; }
@@ -184,7 +183,6 @@
            CompareEquipPlaces = GetIntArray("EquipUpType");
            greatMasterStartLV = GetInt("GreatMasterStartLV");
            playerMaxLevel = GetInt("PlayerMaxLV");
            potentialUpSuccessRecommend = GetFloat("SPSkillType", 2) * 0.0001f;
            kylinHomeCollectItems = GetIntArray("KirinNpc", 2);
            dailyQuestOpenTime = GetTimeArray("ActionTime", 1);
            flyBootItemId = GetInt("TransportPay");