|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "ScriptMgr.h"#include "ScriptedCreature.h"#include "ScriptedGossip.h"#include "ScriptedEscortAI.h"#include "ObjectMgr.h"#include "World.h"#include "PassiveAI.h"#include "GameEventMgr.h"#include "GridNotifiers.h"#include "GridNotifiersImpl.h"#include "Cell.h"#include "CellImpl.h"#include "SpellAuras.h"#include "Pet.h"#include "BlackMarketMgr.h"Go to the source code of this file.
Macros | |
| #define | A_RUNTOX -3742.96f |
| #define | A_RUNTOY -4531.52f |
| #define | A_RUNTOZ 11.91f |
| #define | EXP_COST 100000 |
| #define | GOSSIP_CHOOSE_FACTION "I would like to choose my faction" |
| #define | GOSSIP_ENGINEERING1 "Borean Tundra" |
| #define | GOSSIP_ENGINEERING2 "Howling Fjord" |
| #define | GOSSIP_ENGINEERING3 "Sholazar Basin" |
| #define | GOSSIP_ENGINEERING4 "Icecrown" |
| #define | GOSSIP_ENGINEERING5 "Storm Peaks" |
| #define | GOSSIP_ENGINEERING6 "Underground..." |
| #define | GOSSIP_HELLO_ROGUE1 "I wish to unlearn my talents" |
| #define | GOSSIP_HELLO_ROGUE2 "<Take the letter>" |
| #define | GOSSIP_HELLO_ROGUE3 "Purchase a Dual Talent Specialization." |
| #define | GOSSIP_HELLO_ROGUE4 "I wish to unlearn my specialization" |
| #define | GOSSIP_HELLO_SAYGE "Yes" |
| #define | GOSSIP_ITEM_GRANT "You have thought well, spirit. I ask you to grant me the strength of your body and the strength of your heart." |
| #define | GOSSIP_LOST_ARCATRAZ_KEY "I've lost my key to the Arcatraz." |
| #define | GOSSIP_LOST_ESSENCE_INFUSED_MOONSTONE "I've lost my Essence-Infused Moonstone." |
| #define | GOSSIP_LOST_HC_KEY_TO_THE_FOCUSING_IRIS "I've lost my Heroic Key to the Focusing Iris." |
| #define | GOSSIP_LOST_KEY_TO_THE_FOCUSING_IRIS "I've lost my Key to the Focusing Iris." |
| #define | GOSSIP_LOST_SHADOWFORGE_KEY "I've lost my key to the Blackrock Depths." |
| #define | GOSSIP_LOST_SHATTERED_HALLS_KEY "I've lost my key to the Shattered Halls." |
| #define | GOSSIP_LOST_SKELETON_KEY "I've lost my key to the Scholomance." |
| #define | GOSSIP_LOST_THE_MASTERS_KEY "I've lost my key to the Karazhan." |
| #define | GOSSIP_LOST_VIOLET_HOLD_KEY "I've lost my key to the Violet Hold." |
| #define | GOSSIP_PET1 "How do I train my pet?" |
| #define | GOSSIP_PET2 "I wish to untrain my pet." |
| #define | GOSSIP_PET_CONFIRM "Yes, please do." |
| #define | GOSSIP_SENDACTION_SAYGE1 "Slay the Man" |
| #define | GOSSIP_SENDACTION_SAYGE10 "Remain quiet" |
| #define | GOSSIP_SENDACTION_SAYGE11 "Speak against your brother openly" |
| #define | GOSSIP_SENDACTION_SAYGE12 "Help your brother in" |
| #define | GOSSIP_SENDACTION_SAYGE13 "Keep your brother out without letting him know" |
| #define | GOSSIP_SENDACTION_SAYGE14 "Take credit, keep gold" |
| #define | GOSSIP_SENDACTION_SAYGE15 "Take credit, share the gold" |
| #define | GOSSIP_SENDACTION_SAYGE16 "Let the knight take credit" |
| #define | GOSSIP_SENDACTION_SAYGE17 "Thanks" |
| #define | GOSSIP_SENDACTION_SAYGE2 "Turn him over to liege" |
| #define | GOSSIP_SENDACTION_SAYGE3 "Confiscate the corn" |
| #define | GOSSIP_SENDACTION_SAYGE4 "Let him go and have the corn" |
| #define | GOSSIP_SENDACTION_SAYGE5 "Execute your friend painfully" |
| #define | GOSSIP_SENDACTION_SAYGE6 "Execute your friend painlessly" |
| #define | GOSSIP_SENDACTION_SAYGE7 "Let your friend go" |
| #define | GOSSIP_SENDACTION_SAYGE8 "Confront the diplomat" |
| #define | GOSSIP_SENDACTION_SAYGE9 "Show not so quiet defiance" |
| #define | GOSSIP_TEXT_EXP 14736 |
| #define | GOSSIP_TEXT_EXP 14736 |
| #define | GOSSIP_XP_OFF "I no longer wish to gain experience." |
| #define | GOSSIP_XP_ON "I wish to start gaining experience again." |
| #define | H_RUNTOX -1016.44f |
| #define | H_RUNTOY -3508.48f |
| #define | H_RUNTOZ 62.96f |
Functions | |
| void | AddSC_npcs_special () |
Variables | |
| static Location | AllianceCoords [] |
| uint32 const | AllianceSoldierId [3] |
| static Location | HordeCoords [] |
| uint32 const | HordeSoldierId [3] |
| Position | omenSummonPos = {7558.993f, -2839.999f, 450.0214f, 4.46f} |
| float const | RANGE_GUARDS_MARK = 50.0f |
| float const | RANGE_TRIPWIRE = 15.0f |
| SpawnAssociation | spawnAssociations [] |
| #define A_RUNTOX -3742.96f |
Definition at line 518 of file npcs_special.cpp.
Referenced by npc_injured_patient::npc_injured_patientAI::SpellHit().
| #define A_RUNTOY -4531.52f |
Definition at line 519 of file npcs_special.cpp.
Referenced by npc_injured_patient::npc_injured_patientAI::SpellHit().
| #define A_RUNTOZ 11.91f |
Definition at line 520 of file npcs_special.cpp.
Referenced by npc_injured_patient::npc_injured_patientAI::SpellHit().
| #define EXP_COST 100000 |
Definition at line 2002 of file npcs_special.cpp.
Referenced by npc_experience::OnGossipSelect().
| #define GOSSIP_CHOOSE_FACTION "I would like to choose my faction" |
Definition at line 2443 of file npcs_special.cpp.
Referenced by npc_Spirit_of_Master_Shang_Xi::OnGossipHello().
| #define GOSSIP_ENGINEERING1 "Borean Tundra" |
Definition at line 1684 of file npcs_special.cpp.
Referenced by npc_wormhole::OnGossipHello().
| #define GOSSIP_ENGINEERING2 "Howling Fjord" |
Definition at line 1685 of file npcs_special.cpp.
Referenced by npc_wormhole::OnGossipHello().
| #define GOSSIP_ENGINEERING3 "Sholazar Basin" |
Definition at line 1686 of file npcs_special.cpp.
Referenced by npc_wormhole::OnGossipHello().
| #define GOSSIP_ENGINEERING4 "Icecrown" |
Definition at line 1687 of file npcs_special.cpp.
Referenced by npc_wormhole::OnGossipHello().
| #define GOSSIP_ENGINEERING5 "Storm Peaks" |
Definition at line 1688 of file npcs_special.cpp.
Referenced by npc_wormhole::OnGossipHello().
| #define GOSSIP_ENGINEERING6 "Underground..." |
Definition at line 1689 of file npcs_special.cpp.
Referenced by npc_wormhole::OnGossipHello().
| #define GOSSIP_HELLO_ROGUE1 "I wish to unlearn my talents" |
Definition at line 1233 of file npcs_special.cpp.
Referenced by npc_rogue_trainer::OnGossipHello().
| #define GOSSIP_HELLO_ROGUE2 "<Take the letter>" |
Definition at line 1234 of file npcs_special.cpp.
Referenced by npc_rogue_trainer::OnGossipHello().
| #define GOSSIP_HELLO_ROGUE3 "Purchase a Dual Talent Specialization." |
Definition at line 1235 of file npcs_special.cpp.
Referenced by npc_rogue_trainer::OnGossipHello().
| #define GOSSIP_HELLO_ROGUE4 "I wish to unlearn my specialization" |
Definition at line 1236 of file npcs_special.cpp.
Referenced by npc_rogue_trainer::OnGossipHello().
| #define GOSSIP_HELLO_SAYGE "Yes" |
Definition at line 1337 of file npcs_special.cpp.
Referenced by npc_sayge::OnGossipHello().
| #define GOSSIP_ITEM_GRANT "You have thought well, spirit. I ask you to grant me the strength of your body and the strength of your heart." |
Definition at line 271 of file npcs_special.cpp.
Referenced by npc_lunaclaw_spirit::OnGossipHello().
| #define GOSSIP_LOST_ARCATRAZ_KEY "I've lost my key to the Arcatraz." |
Definition at line 1892 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_ESSENCE_INFUSED_MOONSTONE "I've lost my Essence-Infused Moonstone." |
Definition at line 1898 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_HC_KEY_TO_THE_FOCUSING_IRIS "I've lost my Heroic Key to the Focusing Iris." |
Definition at line 1900 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_KEY_TO_THE_FOCUSING_IRIS "I've lost my Key to the Focusing Iris." |
Definition at line 1899 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_SHADOWFORGE_KEY "I've lost my key to the Blackrock Depths." |
Definition at line 1893 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_SHATTERED_HALLS_KEY "I've lost my key to the Shattered Halls." |
Definition at line 1895 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_SKELETON_KEY "I've lost my key to the Scholomance." |
Definition at line 1894 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_THE_MASTERS_KEY "I've lost my key to the Karazhan." |
Definition at line 1896 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_LOST_VIOLET_HOLD_KEY "I've lost my key to the Violet Hold." |
Definition at line 1897 of file npcs_special.cpp.
Referenced by npc_locksmith::OnGossipHello().
| #define GOSSIP_PET1 "How do I train my pet?" |
Definition at line 1803 of file npcs_special.cpp.
Referenced by npc_pet_trainer::OnGossipHello().
| #define GOSSIP_PET2 "I wish to untrain my pet." |
Definition at line 1804 of file npcs_special.cpp.
Referenced by npc_pet_trainer::OnGossipHello().
| #define GOSSIP_PET_CONFIRM "Yes, please do." |
Definition at line 1805 of file npcs_special.cpp.
Referenced by npc_pet_trainer::OnGossipSelect().
| #define GOSSIP_SENDACTION_SAYGE1 "Slay the Man" |
Definition at line 1338 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE10 "Remain quiet" |
Definition at line 1347 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE11 "Speak against your brother openly" |
Definition at line 1348 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE12 "Help your brother in" |
Definition at line 1349 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE13 "Keep your brother out without letting him know" |
Definition at line 1350 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE14 "Take credit, keep gold" |
Definition at line 1351 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE15 "Take credit, share the gold" |
Definition at line 1352 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE16 "Let the knight take credit" |
Definition at line 1353 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE17 "Thanks" |
Definition at line 1354 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE2 "Turn him over to liege" |
Definition at line 1339 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE3 "Confiscate the corn" |
Definition at line 1340 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE4 "Let him go and have the corn" |
Definition at line 1341 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE5 "Execute your friend painfully" |
Definition at line 1342 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE6 "Execute your friend painlessly" |
Definition at line 1343 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE7 "Let your friend go" |
Definition at line 1344 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE8 "Confront the diplomat" |
Definition at line 1345 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_SENDACTION_SAYGE9 "Show not so quiet defiance" |
Definition at line 1346 of file npcs_special.cpp.
Referenced by npc_sayge::SendAction().
| #define GOSSIP_TEXT_EXP 14736 |
Definition at line 2003 of file npcs_special.cpp.
| #define GOSSIP_TEXT_EXP 14736 |
Definition at line 2003 of file npcs_special.cpp.
Referenced by npc_experience::OnGossipHello(), and npc_Spirit_of_Master_Shang_Xi::OnGossipHello().
| #define GOSSIP_XP_OFF "I no longer wish to gain experience." |
Definition at line 2004 of file npcs_special.cpp.
Referenced by npc_experience::OnGossipHello().
| #define GOSSIP_XP_ON "I wish to start gaining experience again." |
Definition at line 2005 of file npcs_special.cpp.
Referenced by npc_experience::OnGossipHello().
| #define H_RUNTOX -1016.44f |
Definition at line 533 of file npcs_special.cpp.
Referenced by npc_injured_patient::npc_injured_patientAI::SpellHit().
| #define H_RUNTOY -3508.48f |
Definition at line 534 of file npcs_special.cpp.
Referenced by npc_injured_patient::npc_injured_patientAI::SpellHit().
| #define H_RUNTOZ 62.96f |
Definition at line 535 of file npcs_special.cpp.
Referenced by npc_injured_patient::npc_injured_patientAI::SpellHit().
| enum AirFoceBots |
| Enumerator | |
|---|---|
| SPELL_GUARDS_MARK | |
| AURA_DURATION_TIME_LEFT | |
Definition at line 66 of file npcs_special.cpp.
| enum BrewfestReveler |
| Enumerator | |
|---|---|
| SPELL_BREWFEST_TOAST | |
Definition at line 1567 of file npcs_special.cpp.
| enum ChickenCluck |
| Enumerator | |
|---|---|
| EMOTE_HELLO_A | |
| EMOTE_HELLO_H | |
| EMOTE_CLUCK_TEXT | |
| QUEST_CLUCK | |
| FACTION_FRIENDLY | |
| FACTION_CHICKEN | |
Definition at line 303 of file npcs_special.cpp.
| enum DancingFlames |
| Enumerator | |
|---|---|
| SPELL_BRAZIER | |
| SPELL_SEDUCTION | |
| SPELL_FIERY_AURA | |
Definition at line 402 of file npcs_special.cpp.
| enum Doctor |
| Enumerator | |
|---|---|
| SAY_DOC | |
| DOCTOR_ALLIANCE | |
| DOCTOR_HORDE | |
| ALLIANCE_COORDS | |
| HORDE_COORDS | |
Definition at line 491 of file npcs_special.cpp.
| enum Fireworks |
Definition at line 2061 of file npcs_special.cpp.
| enum Garments |
Definition at line 871 of file npcs_special.cpp.
| enum GuardianSpells |
| Enumerator | |
|---|---|
| SPELL_DEATHTOUCH | |
Definition at line 1093 of file npcs_special.cpp.
| enum LockSmith |
Definition at line 1859 of file npcs_special.cpp.
| enum LunaclawSpirit |
| Enumerator | |
|---|---|
| QUEST_BODY_HEART_A | |
| QUEST_BODY_HEART_H | |
| TEXT_ID_DEFAULT | |
| TEXT_ID_PROGRESS | |
Definition at line 262 of file npcs_special.cpp.
| enum PetTrainer |
| Enumerator | |
|---|---|
| TEXT_ISHUNTER | |
| TEXT_NOTHUNTER | |
| TEXT_PETINFO | |
| TEXT_CONFIRM | |
Definition at line 1795 of file npcs_special.cpp.
| enum rabbitSpells |
| Enumerator | |
|---|---|
| SPELL_SPRING_FLING | |
| SPELL_SPRING_RABBIT_JUMP | |
| SPELL_SPRING_RABBIT_WANDER | |
| SPELL_SUMMON_BABY_BUNNY | |
| SPELL_SPRING_RABBIT_IN_LOVE | |
| NPC_SPRING_RABBIT | |
Definition at line 2344 of file npcs_special.cpp.
| enum Sayge |
| Enumerator | |
|---|---|
| SPELL_DMG | |
| SPELL_RES | |
| SPELL_ARM | |
| SPELL_SPI | |
| SPELL_INT | |
| SPELL_STM | |
| SPELL_STR | |
| SPELL_AGI | |
| SPELL_FORTUNE | |
Definition at line 1324 of file npcs_special.cpp.
| enum SpawnType |
| Enumerator | |
|---|---|
| SPAWNTYPE_TRIPWIRE_ROOFTOP | |
| SPAWNTYPE_ALARMBOT | |
Definition at line 53 of file npcs_special.cpp.
| enum TonkMine |
| Enumerator | |
|---|---|
| SPELL_TONK_MINE_DETONATE | |
Definition at line 1516 of file npcs_special.cpp.
| enum TrainingDummy |
| Enumerator | |
|---|---|
| NPC_ADVANCED_TARGET_DUMMY | |
| NPC_TARGET_DUMMY | |
Definition at line 1597 of file npcs_special.cpp.
| enum WormholeSpells |
| Enumerator | |
|---|---|
| SPELL_BOREAN_TUNDRA | |
| SPELL_SHOLAZAR_BASIN | |
| SPELL_ICECROWN | |
| SPELL_STORM_PEAKS | |
| SPELL_HOWLING_FJORD | |
| SPELL_UNDERGROUND | |
| TEXT_WORMHOLE | |
| DATA_SHOW_UNDERGROUND | |
Definition at line 1691 of file npcs_special.cpp.
| void AddSC_npcs_special | ( | ) |
Definition at line 2520 of file npcs_special.cpp.
References npc_doctor::npc_doctor().
Referenced by AddWorldScripts().
|
static |
Definition at line 506 of file npcs_special.cpp.
Referenced by npc_doctor::npc_doctorAI::BeginEvent().
| uint32 const AllianceSoldierId[3] |
Definition at line 537 of file npcs_special.cpp.
Referenced by npc_doctor::npc_doctorAI::UpdateAI().
|
static |
Definition at line 522 of file npcs_special.cpp.
Referenced by npc_doctor::npc_doctorAI::BeginEvent().
| uint32 const HordeSoldierId[3] |
Definition at line 544 of file npcs_special.cpp.
Referenced by npc_doctor::npc_doctorAI::UpdateAI().
| Position omenSummonPos = {7558.993f, -2839.999f, 450.0214f, 4.46f} |
Definition at line 2118 of file npcs_special.cpp.
Referenced by npc_firework::npc_fireworkAI::Reset().
| float const RANGE_GUARDS_MARK = 50.0f |
Definition at line 73 of file npcs_special.cpp.
Referenced by npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight().
| float const RANGE_TRIPWIRE = 15.0f |
Definition at line 72 of file npcs_special.cpp.
Referenced by npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight().
| SpawnAssociation spawnAssociations[] |
Definition at line 75 of file npcs_special.cpp.
Referenced by npc_air_force_bots::npc_air_force_botsAI::npc_air_force_botsAI().