static int _m_GetTileCoordinates(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PF.INavmeshHolder gen_to_be_invoked = (PF.INavmeshHolder)translator.FastGetCSObj(L, 1); { int _tileIndex = LuaAPI.xlua_tointeger(L, 2); int _x; int _z; gen_to_be_invoked.GetTileCoordinates(_tileIndex, out _x, out _z); LuaAPI.xlua_pushinteger(L, _x); LuaAPI.xlua_pushinteger(L, _z); return(2); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }