少年修仙传客户端代码仓库
client_linchunjie
2019-04-13 7e0f2dd417838fd10ef65ad160f60a20bd5a1c6b
Lua/Gen/ReikiRootConfigWrap.cs
@@ -27,7 +27,6 @@
         
         Utils.RegisterFunc(L, Utils.GETTER_IDX, "id", _g_get_id);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "propertyPerPoint", _g_get_propertyPerPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "promoteProperty", _g_get_promoteProperty);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "promoteValue", _g_get_promoteValue);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "qualityArea", _g_get_qualityArea);
            
@@ -299,20 +298,6 @@
         
                ReikiRootConfig gen_to_be_invoked = (ReikiRootConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.propertyPerPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_promoteProperty(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                ReikiRootConfig gen_to_be_invoked = (ReikiRootConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.promoteProperty);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }