少年修仙传客户端代码仓库
client_linchunjie
2019-05-25 1f91e5df63dc91e3b77caeee3c820b8e52a02485
Lua/Gen/DungeonConfigWrap.cs
@@ -21,7 +21,7 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(DungeonConfig);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 22, 0);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 23, 0);
         
         
         
@@ -40,6 +40,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "SweepItemID", _g_get_SweepItemID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "SweepCostCnt", _g_get_SweepCostCnt);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "StepTime", _g_get_StepTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RefreshNPC", _g_get_RefreshNPC);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "BossActorID", _g_get_BossActorID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Rewards", _g_get_Rewards);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RewardCountDescriptions", _g_get_RewardCountDescriptions);
@@ -505,6 +506,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_RefreshNPC(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DungeonConfig gen_to_be_invoked = (DungeonConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.RefreshNPC);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_BossActorID(RealStatePtr L)
        {
          try {