TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
world_script_loader.cpp File Reference
#include "World.h"
+ Include dependency graph for world_script_loader.cpp:

Functions

void AddSC_areatrigger_scripts ()
 
void AddSC_emerald_dragons ()
 
void AddSC_generic_creature ()
 
void AddSC_go_scripts ()
 
void AddSC_guards ()
 
void AddSC_item_scripts ()
 
void AddSC_npc_professions ()
 
void AddSC_npc_innkeeper ()
 
void AddSC_npcs_special ()
 
void AddSC_achievement_scripts ()
 
void AddSC_action_ip_logger ()
 
void AddSC_chat_log ()
 
void AddSC_duel_reset ()
 
void AddWorldScripts ()
 

Function Documentation

void AddSC_achievement_scripts ( )
294 {
305  new achievement_arena_kills("achievement_arena_2v2_kills", ARENA_TYPE_2v2);
306  new achievement_arena_kills("achievement_arena_3v3_kills", ARENA_TYPE_3v3);
307  new achievement_arena_kills("achievement_arena_5v5_kills", ARENA_TYPE_5v5);
309  new achievement_tilted();
313 }
Definition: Battleground.h:183
Definition: Battleground.h:182
Definition: achievement_scripts.cpp:244
Definition: achievement_scripts.cpp:223
Definition: achievement_scripts.cpp:53
Definition: achievement_scripts.cpp:67
Definition: achievement_scripts.cpp:282
Definition: achievement_scripts.cpp:25
Definition: achievement_scripts.cpp:115
Definition: Battleground.h:181
Definition: achievement_scripts.cpp:153
Definition: achievement_scripts.cpp:132
Definition: achievement_scripts.cpp:265
Definition: achievement_scripts.cpp:39
Definition: achievement_scripts.cpp:171
Definition: achievement_scripts.cpp:185
Definition: achievement_scripts.cpp:98
Definition: achievement_scripts.cpp:199
Definition: achievement_scripts.cpp:81

+ Here is the caller graph for this function:

void AddSC_action_ip_logger ( )
304 {
305  new AccountActionIpLogger();
308 }
Definition: action_ip_logger.cpp:244
Definition: action_ip_logger.cpp:42
Definition: action_ip_logger.cpp:161

+ Here is the caller graph for this function:

void AddSC_areatrigger_scripts ( )
476 {
487 }
Definition: areatrigger_scripts.cpp:226
Definition: areatrigger_scripts.cpp:117
Definition: areatrigger_scripts.cpp:428
Definition: areatrigger_scripts.cpp:263
Definition: areatrigger_scripts.cpp:358
Definition: areatrigger_scripts.cpp:141
Definition: areatrigger_scripts.cpp:304
Definition: areatrigger_scripts.cpp:51
Definition: areatrigger_scripts.cpp:168
Definition: areatrigger_scripts.cpp:79

+ Here is the caller graph for this function:

void AddSC_chat_log ( )
155 {
156  new ChatLogScript();
157 }
Definition: chat_log.cpp:23

+ Here is the caller graph for this function:

void AddSC_duel_reset ( )
136 {
137  new DuelResetScript();
138 }
Definition: duel_reset.cpp:23

+ Here is the caller graph for this function:

void AddSC_emerald_dragons ( )
800 {
801  // helper NPC scripts
802  new npc_dream_fog();
803  new npc_spirit_shade();
804 
805  // dragons
806  new boss_ysondre();
807  new boss_taerar();
808  new boss_emeriss();
809  new boss_lethon();
810 
811  // dragon spellscripts
812  new spell_dream_fog_sleep();
813  new spell_mark_of_nature();
814 }
Definition: boss_emerald_dragons.cpp:414
Definition: boss_emerald_dragons.cpp:469
Definition: boss_emerald_dragons.cpp:713
Definition: boss_emerald_dragons.cpp:247
Definition: boss_emerald_dragons.cpp:341
Definition: boss_emerald_dragons.cpp:164
Definition: boss_emerald_dragons.cpp:757
Definition: boss_emerald_dragons.cpp:567

+ Here is the caller graph for this function:

void AddSC_generic_creature ( )
238 {
239  //new generic_creature;
240  new trigger_periodic();
241  //new trigger_death;
242 }
Definition: mob_generic_creature.cpp:180

+ Here is the caller graph for this function:

void AddSC_go_scripts ( )
1172 {
1173  new go_cat_figurine();
1174  new go_barov_journal();
1175  new go_gilded_brazier();
1176  new go_orb_of_command();
1177  new go_shrine_of_the_birds();
1178  new go_southfury_moonstone();
1179  new go_tablet_of_madness();
1180  new go_tablet_of_the_seven();
1181  new go_jump_a_tron();
1182  new go_ethereum_prison();
1183  new go_ethereum_stasis();
1184  new go_resonite_cask();
1185  new go_sacred_fire_of_life();
1188  new go_fel_crystalforge();
1189  new go_bashir_crystalforge();
1190  new go_matrix_punchograph();
1191  new go_scourge_cage();
1192  new go_arcane_prison();
1193  new go_blood_filled_orb();
1194  new go_jotunheim_cage();
1195  new go_table_theka();
1197  new go_soulwell();
1198  new go_tadpole_cage();
1199  new go_dragonflayer_cage();
1200  new go_amberpine_outhouse();
1201  new go_hive_pod();
1203  new go_veil_skith_cage();
1204  new go_frostblade_shrine();
1205  new go_midsummer_bonfire();
1206  new go_toy_train_set();
1207 }
Definition: go_scripts.cpp:318
Definition: go_scripts.cpp:438
Definition: go_scripts.cpp:185
Definition: go_scripts.cpp:959
Definition: go_scripts.cpp:418
Definition: go_scripts.cpp:644
Definition: go_scripts.cpp:1135
Definition: go_scripts.cpp:64
Definition: go_scripts.cpp:346
Definition: go_scripts.cpp:527
Definition: go_scripts.cpp:870
Definition: go_scripts.cpp:295
Definition: go_scripts.cpp:127
Definition: go_scripts.cpp:1089
Definition: go_scripts.cpp:1029
Definition: go_scripts.cpp:104
Definition: go_scripts.cpp:918
Definition: go_scripts.cpp:780
Definition: go_scripts.cpp:730
Definition: go_scripts.cpp:389
Definition: go_scripts.cpp:219
Definition: go_scripts.cpp:145
Definition: go_scripts.cpp:1052
Definition: go_scripts.cpp:163
Definition: go_scripts.cpp:1015
Definition: go_scripts.cpp:1116
Definition: go_scripts.cpp:591
Definition: go_scripts.cpp:699
Definition: go_scripts.cpp:468
Definition: go_scripts.cpp:269
Definition: go_scripts.cpp:806
Definition: go_scripts.cpp:80
Definition: go_scripts.cpp:672
Definition: go_scripts.cpp:826

+ Here is the caller graph for this function:

void AddSC_guards ( )
413 {
414  new guard_generic();
415  new guard_shattrath_aldor();
417 }
Definition: guards.cpp:50
Definition: guards.cpp:340
Definition: guards.cpp:267

+ Here is the caller graph for this function:

void AddSC_item_scripts ( )
414 {
415  new item_only_for_flight();
419  new item_mysterious_egg();
420  new item_disgusting_jar();
421  new item_pile_fake_furs();
425  new item_captured_frog();
426 }
Definition: item_scripts.cpp:131
Definition: item_scripts.cpp:111
Definition: item_scripts.cpp:330
Definition: item_scripts.cpp:172
Definition: item_scripts.cpp:221
Definition: item_scripts.cpp:47
Definition: item_scripts.cpp:393
Definition: item_scripts.cpp:366
Definition: item_scripts.cpp:88
Definition: item_scripts.cpp:266
Definition: item_scripts.cpp:152

+ Here is the caller graph for this function:

void AddSC_npc_innkeeper ( )
136 {
137  new npc_innkeeper();
138 }
Definition: npc_innkeeper.cpp:47

+ Here is the caller graph for this function:

void AddSC_npc_professions ( )
1214 {
1215  new npc_prof_alchemy();
1216  new npc_prof_blacksmith();
1218  new npc_prof_leather();
1219  new npc_prof_tailor();
1220 }
Definition: npc_professions.cpp:424
Definition: npc_professions.cpp:933
Definition: npc_professions.cpp:589
Definition: npc_professions.cpp:841
Definition: npc_professions.cpp:1051

+ Here is the caller graph for this function:

void AddSC_npcs_special ( )
2670 {
2671  new npc_air_force_bots();
2672  new npc_lunaclaw_spirit();
2673  new npc_chicken_cluck();
2674  new npc_dancing_flames();
2676  new npc_doctor();
2677  new npc_injured_patient();
2678  new npc_garments_of_quests();
2679  new npc_guardian();
2680  new npc_sayge();
2681  new npc_steam_tonk();
2682  new npc_tonk_mine();
2683  new npc_brewfest_reveler();
2684  new npc_training_dummy();
2685  new npc_wormhole();
2686  new npc_pet_trainer();
2687  new npc_locksmith();
2688  new npc_experience();
2689  new npc_firework();
2690  new npc_spring_rabbit();
2691  new npc_imp_in_a_ball();
2692  new npc_train_wrecker();
2693  new npc_egbert();
2694  new npc_pandaren_monk();
2695 }
Definition: npcs_special.cpp:328
Definition: npcs_special.cpp:1438
Definition: npcs_special.cpp:1381
Definition: npcs_special.cpp:1701
Definition: npcs_special.cpp:994
Definition: npcs_special.cpp:2587
Definition: npcs_special.cpp:2014
Definition: npcs_special.cpp:791
Definition: npcs_special.cpp:1591
Definition: npcs_special.cpp:640
Definition: npcs_special.cpp:527
Definition: npcs_special.cpp:1143
Definition: npcs_special.cpp:2405
Definition: npcs_special.cpp:1216
Definition: npcs_special.cpp:1343
Definition: npcs_special.cpp:287
Definition: npcs_special.cpp:2336
Definition: npcs_special.cpp:2522
Definition: npcs_special.cpp:2248
Definition: npcs_special.cpp:121
Definition: npcs_special.cpp:431
Definition: npcs_special.cpp:1472
Definition: npcs_special.cpp:1796
Definition: npcs_special.cpp:1901

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void AddWorldScripts ( )
40 {
45  AddSC_guards();
51  AddSC_chat_log(); // location: scripts\World\chat_log.cpp
52 
53  // FIXME: This should be moved in a script validation hook.
54  // To avoid duplicate code, we check once /*ONLY*/ if logging is permitted or not.
55  if (sWorld->getBoolConfig(CONFIG_IP_BASED_ACTION_LOGGING))
56  AddSC_action_ip_logger(); // location: scripts\World\action_ip_logger.cpp
58 }
void AddSC_action_ip_logger()
Definition: action_ip_logger.cpp:303
void AddSC_go_scripts()
Definition: go_scripts.cpp:1171
void AddSC_chat_log()
Definition: chat_log.cpp:154
void AddSC_item_scripts()
Definition: item_scripts.cpp:413
#define sWorld
Definition: World.h:887
void AddSC_generic_creature()
Definition: mob_generic_creature.cpp:237
void AddSC_guards()
Definition: guards.cpp:412
void AddSC_npcs_special()
Definition: npcs_special.cpp:2669
Definition: World.h:173
void AddSC_npc_professions()
Definition: npc_professions.cpp:1213
void AddSC_achievement_scripts()
Definition: achievement_scripts.cpp:293
void AddSC_areatrigger_scripts()
Definition: areatrigger_scripts.cpp:475
void AddSC_npc_innkeeper()
Definition: npc_innkeeper.cpp:135
void AddSC_emerald_dragons()
Definition: boss_emerald_dragons.cpp:799
void AddSC_duel_reset()
Definition: duel_reset.cpp:135

+ Here is the call graph for this function:

+ Here is the caller graph for this function: