mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Refine resurrection flow
This commit is contained in:
parent
ff6155e2f3
commit
7cd7ac43a9
7 changed files with 120 additions and 20 deletions
|
|
@ -2589,7 +2589,7 @@ bool ListInventoryParser::parse(network::Packet& packet, ListInventoryData& data
|
|||
|
||||
network::Packet RepopRequestPacket::build() {
|
||||
network::Packet packet(static_cast<uint16_t>(Opcode::CMSG_REPOP_REQUEST));
|
||||
packet.writeUInt8(0); // auto-release flag (0 = manual)
|
||||
packet.writeUInt8(1); // request release (1 = manual)
|
||||
return packet;
|
||||
}
|
||||
|
||||
|
|
@ -2599,6 +2599,13 @@ network::Packet SpiritHealerActivatePacket::build(uint64_t npcGuid) {
|
|||
return packet;
|
||||
}
|
||||
|
||||
network::Packet ResurrectResponsePacket::build(uint64_t casterGuid, bool accept) {
|
||||
network::Packet packet(static_cast<uint16_t>(Opcode::CMSG_RESURRECT_RESPONSE));
|
||||
packet.writeUInt64(casterGuid);
|
||||
packet.writeUInt8(accept ? 1 : 0);
|
||||
return packet;
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// Taxi / Flight Paths
|
||||
// ============================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue