少年修仙传客户端代码仓库
client_Hale
2019-04-25 1be5ab55feedb550beff7a04a3a1d2cf6396d8d0
382 对话配置表字段修改
4个文件已修改
34 ■■■■ 已修改文件
Core/GameEngine/Model/Config/DialogConfig.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/DialogConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DialogConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DialogConfigWrap.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/DialogConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           Fish
//    [  Date ]:           Thursday, February 14, 2019
//    [  Date ]:           Thursday, April 25, 2019
//--------------------------------------------------------
using System.Collections.Generic;
@@ -15,7 +15,6 @@
    public readonly int id;
    public readonly int npcId;
    public readonly string icon;
    public readonly string name;
    public readonly string content;
    public readonly int nextID;
@@ -35,15 +34,13 @@
            int.TryParse(tables[1],out npcId); 
            icon = tables[2];
            name = tables[2];
            name = tables[3];
            content = tables[3];
            content = tables[4];
            int.TryParse(tables[4],out nextID);
            int.TryParse(tables[5],out nextID);
            int.TryParse(tables[6],out TalkID);
            int.TryParse(tables[5],out TalkID);
        }
        catch (Exception ex)
        {
Core/GameEngine/Model/Config/DialogConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: f4a9be636b5609449b7c9574940bac5a
timeCreated: 1550121120
timeCreated: 1556180754
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/DialogConfigWrap.cs
@@ -21,13 +21,12 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(DialogConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 7, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 6, 0);
            
            
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "id", _g_get_id);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "npcId", _g_get_npcId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "icon", _g_get_icon);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "content", _g_get_content);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "nextID", _g_get_nextID);
@@ -301,20 +300,6 @@
            
                DialogConfig gen_to_be_invoked = (DialogConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.npcId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_icon(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DialogConfig gen_to_be_invoked = (DialogConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.icon);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
Lua/Gen/DialogConfigWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 52914f2d23956fb4fb8ce7233e23ef95
timeCreated: 1550122889
timeCreated: 1556180992
licenseType: Pro
MonoImporter:
  serializedVersion: 2