mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/OutdoorPvP: refactor using Position and Quat to pack parameters
- Moved statics to cpp
- Save scriptids into an array
(cherry picked from commit 3e7b64b2f7)
This commit is contained in:
@@ -71,7 +71,6 @@ struct CreatureTemplate;
|
||||
struct CreatureData;
|
||||
struct ItemTemplate;
|
||||
struct MapEntry;
|
||||
struct OutdoorPvPData;
|
||||
struct QuestObjective;
|
||||
struct SceneTemplate;
|
||||
|
||||
@@ -991,7 +990,7 @@ class TC_GAME_API ScriptMgr
|
||||
|
||||
public: /* OutdoorPvPScript */
|
||||
|
||||
OutdoorPvP* CreateOutdoorPvP(OutdoorPvPData const* data);
|
||||
OutdoorPvP* CreateOutdoorPvP(uint32 scriptId);
|
||||
|
||||
public: /* CommandScript */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user