75 data <<
uint8(canQueue ? 1 : 0);
76 data <<
uint8(full ? 0 : 1);
110 data <<
uint8(reason);
126 recvData >> battleId >> accepted;
128 TC_LOG_DEBUG(
"misc",
"HandleBfQueueInviteResponse: BattleID:{} Accepted:{}", battleId, accepted);
148 recvData >> battleId >> accepted;
150 TC_LOG_DEBUG(
"misc",
"HandleBfEntryInviteResponse: battleId: {}, accepted: {}", battleId, accepted);
173 recvData >> battleId;
175 TC_LOG_DEBUG(
"misc",
"HandleBfQueueExitRequest: battleId: {} ", battleId);
#define TC_LOG_DEBUG(filterType__,...)
void KickPlayerFromBattlefield(ObjectGuid guid)
Kick player from battlefield and teleport him to kick-point location.
void PlayerAcceptInviteToWar(Player *player)
void PlayerAcceptInviteToQueue(Player *player)
static ObjectGuid GetGUID(Object const *o)
void SendBfLeaveMessage(uint32 battleId, BFLeaveReason reason=BF_LEAVE_REASON_EXITED)
This is call when player leave battlefield zone.
void SendPacket(WorldPacket const *packet)
Send a packet to the client.
void HandleBfQueueInviteResponse(WorldPacket &recvData)
Send by client when he click on accept for queue.
void SendBfQueueInviteResponse(uint32 battleId, uint32 zoneId, bool canQueue=true, bool full=false)
This send packet for inform player that he join queue.
void HandleBfEntryInviteResponse(WorldPacket &recvData)
Send by client on clicking in accept or refuse of invitation windows for join game.
void SendBfInvitePlayerToWar(uint32 battleId, uint32 zoneId, uint32 time)
This send to player windows for invite player to join the war.
void SendBfInvitePlayerToQueue(uint32 battleId)
This send invitation to player to join the queue.
void SendBfEntered(uint32 battleId)
This is call when player accept to join war.
void HandleBfQueueExitRequest(WorldPacket &recvData)
Send by client when exited battlefield.
@ SMSG_BATTLEFIELD_MGR_EJECTED
@ SMSG_BATTLEFIELD_MGR_ENTRY_INVITE
@ SMSG_BATTLEFIELD_MGR_ENTERED
@ SMSG_BATTLEFIELD_MGR_QUEUE_REQUEST_RESPONSE
@ SMSG_BATTLEFIELD_MGR_QUEUE_INVITE