|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "GameObject.h"#include "Map.h"#include "ObjectMgr.h"#include "Player.h"#include "ScriptMgr.h"#include "SpellScript.h"#include "Unit.h"Go to the source code of this file.
Classes | |
| class | spell_archaeology_survey |
| class | spell_archaeology_survey::spell_archaeology_survey_SpellScript |
Enumerations | |
| enum | ArchaeologySurvey { SPELL_SURVEY = 80451 , GO_SURVEY_TOOL_GREEN = 204272 , GO_SURVEY_TOOL_YELLOW = 206589 , GO_SURVEY_TOOL_RED = 206590 , SURVEY_OBJECT_SLOT = 1 } |
Functions | |
| void | AddSC_archaeology_spell_scripts () |
| static uint32 | GetSurveyToolEntry (float distance) |
| static void | ReplaceSurveyObjectSlot (Unit *caster, GameObject *go) |
| static GameObject * | SpawnSurveyGameObject (Player *player, uint32 entry, float x, float y, float z, float orientation, int32 lifetimeSecs) |
Variables | |
| static float const | SURVEY_FIND_DISTANCE = 8.0f |
| static float const | SURVEY_GREEN_DISTANCE = 50.0f |
| static int32 const | SURVEY_TOOL_LIFETIME = 5 |
| static float const | SURVEY_YELLOW_DISTANCE = 100.0f |
| enum ArchaeologySurvey |
| Enumerator | |
|---|---|
| SPELL_SURVEY | |
| GO_SURVEY_TOOL_GREEN | |
| GO_SURVEY_TOOL_YELLOW | |
| GO_SURVEY_TOOL_RED | |
| SURVEY_OBJECT_SLOT | |
Definition at line 14 of file spell_archaeology.cpp.
| void AddSC_archaeology_spell_scripts | ( | ) |
Definition at line 188 of file spell_archaeology.cpp.
Referenced by AddSpellScripts().
|
static |
Definition at line 31 of file spell_archaeology.cpp.
References GO_SURVEY_TOOL_GREEN, GO_SURVEY_TOOL_RED, GO_SURVEY_TOOL_YELLOW, SURVEY_GREEN_DISTANCE, and SURVEY_YELLOW_DISTANCE.
Referenced by spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon().
|
static |
Definition at line 40 of file spell_archaeology.cpp.
References Unit::AddGameObject(), Map::GetGameObject(), Object::GetGUID(), WorldObject::GetMap(), Unit::m_ObjectSlot, Unit::RemoveGameObject(), SPELL_SURVEY, and SURVEY_OBJECT_SLOT.
Referenced by spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon().
|
static |
Definition at line 60 of file spell_archaeology.cpp.
References Map::AddToMap(), GameObject::Create(), Object::GetGUID(), WorldObject::GetMap(), WorldObject::GetPhases(), GO_STATE_READY, HIGHGUID_GAMEOBJECT, GameObject::SetOwnerGUID(), GameObject::SetPhased(), GameObject::SetRespawnTime(), GameObject::SetSpellId(), sObjectMgr, and SPELL_SURVEY.
Referenced by spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon().
|
static |
Definition at line 26 of file spell_archaeology.cpp.
Referenced by spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon().
|
static |
Definition at line 27 of file spell_archaeology.cpp.
Referenced by GetSurveyToolEntry().
|
static |
Definition at line 29 of file spell_archaeology.cpp.
Referenced by spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon().
|
static |
Definition at line 28 of file spell_archaeology.cpp.
Referenced by GetSurveyToolEntry().