| | |
| | | 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); |
| | | |
| | |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | return LuaAPI.luaL_error(L, "invalid arguments to MapTransferUtility.CheckMap!"); |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |