MCPcopy Create free account
hub / github.com/EasyRPG/Player / RequestMap

Method RequestMap

src/game_map.cpp:1975–1983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1973}
1974
1975FileRequestAsync* Game_Map::RequestMap(int map_id) {
1976#ifdef EMSCRIPTEN
1977 Player::translation.RequestAndAddMap(map_id);
1978#endif
1979
1980 auto* request = AsyncHandler::RequestFile(Game_Map::ConstructMapName(map_id, false));
1981 request->SetImportantFile(true);
1982 return request;
1983}
1984
1985// MapEventCache
1986//////////////////

Callers

nothing calls this directly

Calls 2

RequestAndAddMapMethod · 0.80
SetImportantFileMethod · 0.80

Tested by

no test coverage detected