AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ArenaSpectator.h File Reference
#include "Chat.h"
#include "Common.h"
#include "ObjectDefines.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "StringFormat.h"

Go to the source code of this file.

Namespaces

namespace  ArenaSpectator
 

Macros

#define SPECTATOR_ADDON_VERSION   27
 
#define SPECTATOR_BUFFER_LEN   150
 
#define SPECTATOR_ADDON_PREFIX   "ASSUN\x09"
 
#define SPECTATOR_COOLDOWN_MIN   20
 
#define SPECTATOR_COOLDOWN_MAX   900
 
#define SPECTATOR_SPELL_BINDSIGHT   6277
 
#define SPECTATOR_SPELL_SPEED   1557
 

Functions

template<class T >
AC_GAME_API void ArenaSpectator::SendPacketTo (const T *object, std::string &&message)
 
template<class T , typename Format , typename... Args>
void ArenaSpectator::SendCommand (T *o, Format &&fmt, Args &&... args)
 
template<class T >
void ArenaSpectator::SendCommand_String (T *o, ObjectGuid targetGUID, const char *prefix, const char *c)
 
template<class T >
void ArenaSpectator::SendCommand_UInt32Value (T *o, ObjectGuid targetGUID, const char *prefix, uint32 t)
 
template<class T >
void ArenaSpectator::SendCommand_GUID (T *o, ObjectGuid targetGUID, const char *prefix, ObjectGuid t)
 
template<class T >
void ArenaSpectator::SendCommand_Spell (T *o, ObjectGuid targetGUID, const char *prefix, uint32 id, int32 casttime)
 
template<class T >
void ArenaSpectator::SendCommand_Cooldown (T *o, ObjectGuid targetGUID, const char *prefix, uint32 id, uint32 dur, uint32 maxdur)
 
template<class T >
void ArenaSpectator::SendCommand_Aura (T *o, ObjectGuid targetGUID, const char *prefix, ObjectGuid caster, uint32 id, bool isDebuff, uint32 dispel, int32 dur, int32 maxdur, uint32 stack, bool remove)
 
AC_GAME_API bool ArenaSpectator::HandleSpectatorSpectateCommand (ChatHandler *handler, std::string const &name)
 
AC_GAME_API bool ArenaSpectator::HandleSpectatorWatchCommand (ChatHandler *handler, std::string const &name)
 
AC_GAME_API void ArenaSpectator::CreatePacket (WorldPacket &data, std::string const &message)
 
AC_GAME_API void ArenaSpectator::HandleResetCommand (Player *player)
 
AC_GAME_API bool ArenaSpectator::ShouldSendAura (Aura *aura, uint8 effMask, ObjectGuid targetGUID, bool remove)
 

Macro Definition Documentation

◆ SPECTATOR_ADDON_PREFIX

#define SPECTATOR_ADDON_PREFIX   "ASSUN\x09"

◆ SPECTATOR_ADDON_VERSION

#define SPECTATOR_ADDON_VERSION   27

◆ SPECTATOR_BUFFER_LEN

#define SPECTATOR_BUFFER_LEN   150

◆ SPECTATOR_COOLDOWN_MAX

#define SPECTATOR_COOLDOWN_MAX   900

◆ SPECTATOR_COOLDOWN_MIN

#define SPECTATOR_COOLDOWN_MIN   20

◆ SPECTATOR_SPELL_BINDSIGHT

#define SPECTATOR_SPELL_BINDSIGHT   6277

◆ SPECTATOR_SPELL_SPEED

#define SPECTATOR_SPELL_SPEED   1557