aboutsummaryrefslogtreecommitdiff
path: root/src/game/ZoneScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ZoneScript.h')
-rw-r--r--src/game/ZoneScript.h12
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