mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11129] Added WorldMap/WorldPersistentState subclass for non-instanceable maps.
This let have symmetric Map/MapPersistentState (sub)classes hierarchy.
This commit is contained in:
parent
98aff742c1
commit
6d26ec0e7f
6 changed files with 62 additions and 26 deletions
|
|
@ -1302,6 +1302,13 @@ template void Map::Remove(Creature *,bool);
|
|||
template void Map::Remove(GameObject *, bool);
|
||||
template void Map::Remove(DynamicObject *, bool);
|
||||
|
||||
/* ******* World Maps ******* */
|
||||
|
||||
WorldPersistentState* WorldMap::GetPersistanceState() const
|
||||
{
|
||||
return (WorldPersistentState*)Map::GetPersistentState();
|
||||
}
|
||||
|
||||
/* ******* Dungeon Instance Maps ******* */
|
||||
|
||||
DungeonMap::DungeonMap(uint32 id, time_t expiry, uint32 InstanceId, uint8 SpawnMode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue