|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| std::vector< ChatCommand > | GetCommands () const OVERRIDE |
| go_commandscript () | |
| Public Member Functions inherited from ScriptObject | |
| const std::string & | GetName () const |
| virtual bool | IsDatabaseBound () const |
Static Public Member Functions | |
| static bool | HandleGoCreatureCommand (ChatHandler *handler, char const *args) |
| Teleport the GM to the specified creature. | |
| static bool | HandleGoGraveyardCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoGridCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoObjectCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoTaxinodeCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoTicketCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoTriggerCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoXYZCommand (ChatHandler *handler, char const *args) |
| static bool | HandleGoZoneXYCommand (ChatHandler *handler, char const *args) |
Additional Inherited Members | |
| Protected Member Functions inherited from CommandScript | |
| CommandScript (const char *name) | |
| Protected Member Functions inherited from ScriptObject | |
| ScriptObject (const char *name) | |
| virtual | ~ScriptObject () |
|
inline |
Definition at line 24 of file cs_go.cpp.
References CommandScript::CommandScript().
|
inlinevirtual |
Implements CommandScript.
Definition at line 26 of file cs_go.cpp.
References HandleGoCreatureCommand(), HandleGoGraveyardCommand(), HandleGoGridCommand(), HandleGoObjectCommand(), HandleGoTaxinodeCommand(), HandleGoTicketCommand(), HandleGoTriggerCommand(), HandleGoXYZCommand(), HandleGoZoneXYCommand(), OVERRIDE, rbac::RBAC_PERM_COMMAND_GO, rbac::RBAC_PERM_COMMAND_GO_CREATURE, rbac::RBAC_PERM_COMMAND_GO_GRAVEYARD, rbac::RBAC_PERM_COMMAND_GO_GRID, rbac::RBAC_PERM_COMMAND_GO_OBJECT, rbac::RBAC_PERM_COMMAND_GO_TAXINODE, rbac::RBAC_PERM_COMMAND_GO_TICKET, rbac::RBAC_PERM_COMMAND_GO_TRIGGER, rbac::RBAC_PERM_COMMAND_GO_XYZ, and rbac::RBAC_PERM_COMMAND_GO_ZONEXY.
|
inlinestatic |
Teleport the GM to the specified creature.
.gocreature <GUID> --> TP using creature.guid .gocreature azuregos --> TP player to the mob with this name Warning: If there is more than one mob with this name you will be teleported to the first one that is found. .gocreature id 6109 --> TP player to the mob, that has this creature_template.entry Warning: If there is more than one mob with this "id" you will be teleported to the first one that is found.
Definition at line 60 of file cs_go.cpp.
References _LIKE_, Player::CleanupAfterTaxiFlight(), ChatHandler::extractKeyFromLink(), Field::GetFloat(), Unit::GetMotionMaster(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Field::GetUInt16(), Field::GetUInt32(), HIGHGUID_UNIT, Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_COMMAND_GOCREATMULTIPLE, LANG_COMMAND_GOCREATNOTFOUND, LANG_INVALID_TARGET_COORD, MAKE_NEW_GUID(), MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), sObjectAccessor, Player::TeleportTo(), and WorldDatabase.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 156 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), Unit::GetMotionMaster(), Position::GetOrientation(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_COMMAND_GRAVEYARDNOEXIST, LANG_INVALID_TARGET_COORD, WorldSafeLocsEntry::map_id, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SetSentErrorMessage(), sWorldSafeLocsStore, Player::TeleportTo(), WorldSafeLocsEntry::x, WorldSafeLocsEntry::y, and WorldSafeLocsEntry::z.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 202 of file cs_go.cpp.
References CENTER_GRID_ID, Player::CleanupAfterTaxiFlight(), Map::GetHeight(), WorldLocation::GetMapId(), Unit::GetMotionMaster(), Position::GetOrientation(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Map::GetWaterLevel(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_INVALID_TARGET_COORD, MAX_HEIGHT, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SetSentErrorMessage(), SIZE_OF_GRIDS, sMapMgr, and Player::TeleportTo().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 247 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), ChatHandler::extractKeyFromLink(), Unit::GetMotionMaster(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_COMMAND_GOOBJNOTFOUND, LANG_INVALID_TARGET_COORD, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), sObjectMgr, and Player::TeleportTo().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 303 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), ChatHandler::extractKeyFromLink(), Unit::GetMotionMaster(), Position::GetOrientation(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_COMMAND_GOTAXINODENOTFOUND, LANG_INVALID_TARGET_COORD, TaxiNodesEntry::map_id, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SetSentErrorMessage(), sTaxiNodesStore, Player::TeleportTo(), TaxiNodesEntry::x, TaxiNodesEntry::y, and TaxiNodesEntry::z.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 524 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), Unit::GetMotionMaster(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Unit::IsInFlight(), LANG_COMMAND_TICKETNOTEXIST, MotionMaster::MovementExpired(), Player::SaveRecallPosition(), ChatHandler::SendSysMessage(), sTicketMgr, and TicketInfo::TeleportTo().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 348 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), Unit::GetMotionMaster(), Position::GetOrientation(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_COMMAND_GOAREATRNOTFOUND, LANG_INVALID_TARGET_COORD, AreaTriggerEntry::mapid, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), sAreaTriggerStore, Player::SaveRecallPosition(), ChatHandler::SetSentErrorMessage(), Player::TeleportTo(), AreaTriggerEntry::x, AreaTriggerEntry::y, and AreaTriggerEntry::z.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 466 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), Map::GetHeight(), WorldLocation::GetMapId(), Unit::GetMotionMaster(), Position::GetOrientation(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Map::GetWaterLevel(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_INVALID_TARGET_COORD, MAX_HEIGHT, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SetSentErrorMessage(), sMapMgr, and Player::TeleportTo().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 394 of file cs_go.cpp.
References Player::CleanupAfterTaxiFlight(), ChatHandler::extractKeyFromLink(), GetAreaEntryByAreaID(), Map::GetHeight(), Map::GetId(), Map::GetMapName(), Unit::GetMotionMaster(), Position::GetOrientation(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Map::GetWaterLevel(), WorldObject::GetZoneId(), Map::Instanceable(), Unit::IsInFlight(), MapManager::IsValidMapCoord(), LANG_INVALID_TARGET_COORD, LANG_INVALID_ZONE_COORD, LANG_INVALID_ZONE_MAP, AreaTableEntry::m_AreaName, AreaTableEntry::m_ContinentID, AreaTableEntry::m_ID, AreaTableEntry::m_ParentAreaID, MAX_HEIGHT, MotionMaster::MovementExpired(), ChatHandler::PSendSysMessage(), Player::SaveRecallPosition(), ChatHandler::SetSentErrorMessage(), sMapMgr, Player::TeleportTo(), and Zone2MapCoordinates().
Referenced by GetCommands().