diff options
author | gvcoman <none@none> | 2008-11-05 20:51:05 -0600 |
---|---|---|
committer | gvcoman <none@none> | 2008-11-05 20:51:05 -0600 |
commit | 44bdb135f4ed5bb834795cfb928ccbb0504cf834 (patch) | |
tree | 7995df4957fb2e0e6cde895fbe3e85b7efde5fa7 /src/game/ObjectAccessor.h | |
parent | 8d331f2b10cff29ee0571f7056ad353df6a3eabd (diff) |
[svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectAccessor.h')
-rw-r--r-- | src/game/ObjectAccessor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/ObjectAccessor.h b/src/game/ObjectAccessor.h index b4ff57001a3..d7dde01f640 100644 --- a/src/game/ObjectAccessor.h +++ b/src/game/ObjectAccessor.h @@ -208,8 +208,11 @@ class TRINITY_DLL_DECL ObjectAccessor : public Trinity::Singleton<ObjectAccessor { UpdateDataMapType &i_updateDatas; WorldObject &i_object; + std::set<uint64> plr_list; WorldObjectChangeAccumulator(WorldObject &obj, UpdateDataMapType &d) : i_updateDatas(d), i_object(obj) {} void Visit(PlayerMapType &); + void Visit(CreatureMapType &); + void BuildPacket(Player* plr); template<class SKIP> void Visit(GridRefManager<SKIP> &) {} }; |