少年修仙传客户端代码仓库
client_linchunjie
2018-11-20 3d101da093e4d3db02a005beec51d8a9aa0e6725
Lua/Gen/MapTransferUtilityWrap.cs
@@ -164,7 +164,20 @@
                MapTransferUtility gen_to_be_invoked = (MapTransferUtility)translator.FastGetCSObj(L, 1);
            
            
             int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
                {
                    int _mapID = LuaAPI.xlua_tointeger(L, 2);
                    bool _force = LuaAPI.lua_toboolean(L, 3);
                    gen_to_be_invoked.CheckMap( _mapID, _force );
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    int _mapID = LuaAPI.xlua_tointeger(L, 2);
                    
@@ -179,6 +192,8 @@
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to MapTransferUtility.CheckMap!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]