少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-05 60f616fc149c620953f468d1383f15a810f898df
Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs
@@ -113,7 +113,7 @@
                    ItemOperateType _btnType;translator.Get(L, 2, out _btnType);
                    string _guid = LuaAPI.lua_tostring(L, 3);
                    
                    gen_to_be_invoked.PutOnItem( _btnType, _guid );
                    gen_to_be_invoked.PutOnItem(  _guid );
                    
                    
                    
@@ -171,10 +171,6 @@
                    int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
                    int _itemIndex = LuaAPI.xlua_tointeger(L, 3);
                    Snxxz.UI.ItemModel _oldItem = (Snxxz.UI.ItemModel)translator.GetObject(L, 4, typeof(Snxxz.UI.ItemModel));
                    gen_to_be_invoked.PutOnEquip( _equipPlace, _itemIndex, _oldItem );
                    
                    return 0;
                }
@@ -790,14 +786,6 @@
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_selectedItem(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.selectedItem);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }