PDA

Просмотр полной версии : [12207] Rewrite Checks required when entering a map


newsbot
10.09.2012, 12:24
Автор: cyberium


<pre>m src/game/InstanceData.h
m src/game/Map.cpp
m src/game/Map.h
m src/game/MapManager.cpp
m src/game/MapManager.h
m src/game/MiscHandler.cpp
m src/game/Player.cpp
m src/game/Player.h
m src/game/WorldSession.cpp
m src/game/WorldSession.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12207] Rewrite Checks required when entering a map

Expected way from now on is:
- Test if a map can be entered with Player::GetAreaTriggerLockStatus
- IF this doesn't return AREA_LOCKSTATUS_OK, and if wanted,
send the fail-message with Player::SendTransferAbortedByLockStatus function.

Please feedback any hidden problems!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com></pre>


Подробнее... (https://github.com/mangos/server/commit/74521e92b85d064dab5906880790d9f1861e8184)