Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Scripts/Events: moved scripts into their respective namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovahlord committed Dec 8, 2023
1 parent 714d93c commit 6d1eb57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/scripts/Events/childrens_week.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include "ScriptedCreature.h"
#include "SpellAuras.h"

namespace ChildrendsWeek
{
enum Orphans
{
ORPHAN_ORACLE = 33533,
Expand Down Expand Up @@ -1115,9 +1117,11 @@ class npc_grizzlemaw_cw_trigger : public CreatureScript
return new npc_grizzlemaw_cw_triggerAI(creature);
}
};
}

void AddSC_event_childrens_week()
{
using namespace ChildrendsWeek;
new npc_elder_kekek();
new npc_high_oracle_soo_roo();
new npc_winterfin_playmate();
Expand Down
4 changes: 4 additions & 0 deletions src/server/scripts/Events/fireworks_show.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include "GameObjectAI.h"
#include "GameTime.h"

namespace FireworksShow
{
enum FireworksShowTypeObjects
{
FIREWORK_SHOW_TYPE_1_RED = 180703,
Expand Down Expand Up @@ -897,8 +899,10 @@ class go_cheer_speaker : public GameObjectScript
return new go_cheer_speakerAI(go);
}
};
}

void AddSC_event_fireworks()
{
using namespace FireworksShow;
new go_cheer_speaker();
}

0 comments on commit 6d1eb57

Please sign in to comment.