diff options
author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
tree | a344f369ca32945f787a02dee35c3dbe342bed7e /src/game/ZoneScript.h | |
parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) |
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
Diffstat (limited to 'src/game/ZoneScript.h')
-rw-r--r-- | src/game/ZoneScript.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/game/ZoneScript.h b/src/game/ZoneScript.h index 6ace3c36474..9e81ae341b9 100644 --- a/src/game/ZoneScript.h +++ b/src/game/ZoneScript.h @@ -15,37 +15,27 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #ifndef ZONE_SCRIPT_H_ #define ZONE_SCRIPT_H_ - #include "Common.h" #include "Creature.h" - //struct CreatureData; class Creature; class GameObject; - class TRINITY_DLL_SPEC ZoneScript { public: explicit ZoneScript() {} - virtual uint32 GetCreatureEntry(uint32 guidlow, const CreatureData *data) { return data->id; } virtual uint32 GetGameObjectEntry(uint32 guidlow, uint32 entry) { return entry; } - virtual void OnCreatureCreate(Creature *, bool add) {} virtual void OnGameObjectCreate(GameObject *go, bool add) {} - //All-purpose data storage 64 bit virtual uint64 GetData64(uint32 /*DataId*/) { return 0; } virtual void SetData64(uint32 /*DataId*/, uint64 /*Value*/) {} - //All-purpose data storage 32 bit virtual uint32 GetData(uint32 /*DataId*/) { return 0; } virtual void SetData(uint32 /*DataId*/, uint32 /*Value*/) {} - virtual void ProcessEvent(GameObject *obj, uint32 eventId) {} }; - -#endif
\ No newline at end of file +#endif |