| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "makeDruglist", _g_get_makeDruglist); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPlayBetterEquipEffect", _g_get_isPlayBetterEquipEffect); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardGetPathId", _g_get_guardGetPathId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "spiritWeaponPathIds", _g_get_spiritWeaponPathIds); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsGetPathIdDict", _g_get_wingsGetPathIdDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonUseDict", _g_get_dungeonUseDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookLineIndex", _g_get_lookLineIndex); |
| | |
| | | |
| | | |
| | | { |
| | | int _equipPlace = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsShowAddEquipByPlace( _equipPlace ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_guardGetPathId(RealStatePtr L) |
| | | static int _g_get_spiritWeaponPathIds(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.PackModel gen_to_be_invoked = (Snxxz.UI.PackModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.guardGetPathId); |
| | | translator.Push(L, gen_to_be_invoked.spiritWeaponPathIds); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |