少年修仙传客户端代码仓库
client_Lhy
2019-07-05 09551a64e8b856cb72179914f84acb0e56f85987
7677 灵器
8个文件已修改
137 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/SpiritWeaponConfig.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/SpiritWeaponConfig.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/EnumWrap.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIChatCenterWrap.cs 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIHazyRegionModelWrap.cs 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIOtherPlayerEquipModelWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SpiritWeaponConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/TaskFeedbackConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/SpiritWeaponConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           Fish
//    [  Date ]:           Thursday, July 04, 2019
//    [  Date ]:           Friday, July 05, 2019
//--------------------------------------------------------
using System.Collections.Generic;
@@ -23,7 +23,8 @@
    public readonly int NextItemID;
    public readonly int NPCID;
    public readonly Vector3 Rotation;
    public readonly float scale;
    public readonly float scale;
    public readonly Vector3 RawImgPos;
    public SpiritWeaponConfig()
    {
@@ -75,7 +76,9 @@
            Rotation=tables[9].Vector3Parse();
            float.TryParse(tables[10],out scale);
            float.TryParse(tables[10],out scale);
            RawImgPos=tables[11].Vector3Parse();
        }
        catch (Exception ex)
        {
Core/GameEngine/Model/Config/SpiritWeaponConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: ddd7764ed0b6a9c41b3c3e2b91efa8c8
timeCreated: 1562249090
timeCreated: 1562318273
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/EnumWrap.cs
@@ -24,7 +24,7 @@
            Utils.BeginObjectRegister(typeof(JumpUIType), L, translator, 0, 0, 0, 0);
            Utils.EndObjectRegister(typeof(JumpUIType), L, translator, null, null, null, null, null);
            
            Utils.BeginClassRegister(typeof(JumpUIType), L, null, 333, 0, 0);
            Utils.BeginClassRegister(typeof(JumpUIType), L, null, 335, 0, 0);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "None", JumpUIType.None);
            
@@ -641,6 +641,10 @@
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy10", JumpUIType.Alchemy10);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy11", JumpUIType.Alchemy11);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SpiritWeapon", JumpUIType.SpiritWeapon);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SpiritBreach", JumpUIType.SpiritBreach);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DhszTs", JumpUIType.DhszTs);
            
@@ -1939,6 +1943,14 @@
                {
                    translator.PushJumpUIType(L, JumpUIType.Alchemy11);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "SpiritWeapon"))
                {
                    translator.PushJumpUIType(L, JumpUIType.SpiritWeapon);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "SpiritBreach"))
                {
                    translator.PushJumpUIType(L, JumpUIType.SpiritBreach);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "DhszTs"))
                {
                    translator.PushJumpUIType(L, JumpUIType.DhszTs);
Lua/Gen/SnxxzUIChatCenterWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.ChatCenter);
            Utils.BeginObjectRegister(type, L, translator, 0, 25, 19, 12);
            Utils.BeginObjectRegister(type, L, translator, 0, 26, 19, 12);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -30,6 +30,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateChatContentPos", _m_UpdateChatContentPos);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetChatData", _m_GetChatData);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SaveRecentlyChat", _m_SaveRecentlyChat);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SaveLocalRecentlyChat", _m_SaveLocalRecentlyChat);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSwitchAccount", _m_OnSwitchAccount);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetVoice", _m_SetVoice);
@@ -344,6 +345,33 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SaveLocalRecentlyChat(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ChatCenter gen_to_be_invoked = (Snxxz.UI.ChatCenter)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.SaveLocalRecentlyChat(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnBeforePlayerDataInitialize(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIHazyRegionModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.HazyRegionModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 23, 19, 3);
            Utils.BeginObjectRegister(type, L, translator, 0, 24, 19, 3);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -36,6 +36,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetIncidentId", _m_GetIncidentId);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAdventureNpcId", _m_GetAdventureNpcId);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsIncidentDungeon", _m_IsIncidentDungeon);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAllIncidentComplete", _m_IsAllIncidentComplete);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisplayErrorRemind", _m_DisplayErrorRemind);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "StartAdventureDialogue", _m_StartAdventureDialogue);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendGotoIncident", _m_SendGotoIncident);
@@ -512,6 +513,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsAllIncidentComplete(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.HazyRegionModel gen_to_be_invoked = (Snxxz.UI.HazyRegionModel)translator.FastGetCSObj(L, 1);
                {
                        bool gen_ret = gen_to_be_invoked.IsAllIncidentComplete(  );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisplayErrorRemind(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIOtherPlayerEquipModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.OtherPlayerEquipModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 12, 7, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 12, 8, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -44,6 +44,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerRealm", _g_get_playerRealm);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerVipLevel", _g_get_playerVipLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wing", _g_get_wing);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRootEffectId", _g_get_reikiRootEffectId);
            
            
            
@@ -498,6 +499,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_reikiRootEffectId(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OtherPlayerEquipModel gen_to_be_invoked = (Snxxz.UI.OtherPlayerEquipModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.reikiRootEffectId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
Lua/Gen/SpiritWeaponConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(SpiritWeaponConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 11, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 12, 0);
            
            
            
@@ -36,6 +36,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "NPCID", _g_get_NPCID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Rotation", _g_get_Rotation);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "scale", _g_get_scale);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RawImgPos", _g_get_RawImgPos);
            
            
            
@@ -437,6 +438,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_RawImgPos(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineVector3(L, gen_to_be_invoked.RawImgPos);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
Lua/Gen/TaskFeedbackConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(TaskFeedbackConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 12, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 13, 0);
            
            
            
@@ -36,6 +36,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jump", _g_get_jump);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "funcTitles", _g_get_funcTitles);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "failFuncs", _g_get_failFuncs);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "onlyOneFunc", _g_get_onlyOneFunc);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "remind", _g_get_remind);
            
            
@@ -439,6 +440,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_onlyOneFunc(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.onlyOneFunc);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_remind(RealStatePtr L)
        {
            try {