Core/Achievements: ported start event and fail event mechanics from master branch
This commit is contained in:
1 parent
a599f7461d
commit
ff0eb86c54
41 files changed
+325
-362
No files matched your search
@@ -30,8 +30,8 @@ struct CreatureData;
|
||||
class TC_GAME_API ZoneScript
|
||||
{
|
||||
public:
|
||||
ZoneScript() { }
|
||||
virtual ~ZoneScript() { }
|
||||
ZoneScript();
|
||||
virtual ~ZoneScript();
|
||||
|
||||
virtual uint32 GetCreatureEntry(ObjectGuid::LowType /*guidLow*/, CreatureData const* data);
|
||||
virtual uint32 GetGameObjectEntry(ObjectGuid::LowType /*guidLow*/, uint32 entry) { return entry; }
|
||||
@@ -55,6 +55,7 @@ class TC_GAME_API ZoneScript
|
||||
virtual uint32 GetData(uint32 /*DataId*/) const { return 0; }
|
||||
virtual void SetData(uint32 /*DataId*/, uint32 /*Value*/) { }
|
||||
|
||||
virtual void TriggerGameEvent(uint32 gameEventId, WorldObject* source = nullptr, WorldObject* target = nullptr);
|
||||
virtual void ProcessEvent(WorldObject* /*obj*/, uint32 /*eventId*/, WorldObject* /*invoker*/) { }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user