* Rename InstanceData to InstanceScript
* Rename *mgr to their new names in scripts project * Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker. --HG-- branch : trunk rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
This commit is contained in:
1 parent
8a69e50d6a
commit
590199d8e1
482 files changed
+84476
-82697
No files matched your search
@@ -40,7 +40,7 @@
|
||||
class Player;
|
||||
class Creature;
|
||||
class CreatureAI;
|
||||
class InstanceData;
|
||||
class InstanceScript;
|
||||
class SpellScript;
|
||||
class Quest;
|
||||
class Item;
|
||||
@@ -421,8 +421,8 @@ class InstanceMapScript : public ScriptObject, public MapScript<InstanceMap>
|
||||
|
||||
bool IsDatabaseBound() const { return true; }
|
||||
|
||||
// Gets an InstanceData object for this instance.
|
||||
virtual InstanceData* GetInstanceData(InstanceMap* map) const { return NULL; }
|
||||
// Gets an InstanceScript object for this instance.
|
||||
virtual InstanceScript* GetInstanceScript(InstanceMap* map) const { return NULL; }
|
||||
};
|
||||
|
||||
class BattlegroundMapScript : public ScriptObject, public MapScript<BattlegroundMap>
|
||||
@@ -852,7 +852,7 @@ class ScriptMgr
|
||||
|
||||
public: /* InstanceMapScript */
|
||||
|
||||
InstanceData* CreateInstanceData(InstanceMap* map);
|
||||
InstanceScript* CreateInstanceData(InstanceMap* map);
|
||||
|
||||
public: /* ItemScript */
|
||||
|
||||
|
||||
Reference in new issue
Block a user