mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: implement barber shop UI with hair/facial customization
Adds a functional barber shop window triggered by SMSG_ENABLE_BARBER_SHOP. Players can adjust hair style, hair color, and facial features using sliders bounded by race/gender max values. Sends CMSG_ALTER_APPEARANCE on confirm; server result closes the window on success. Escape key also closes the barber shop.
This commit is contained in:
parent
8dfd916fe4
commit
64fd7eddf8
6 changed files with 160 additions and 1 deletions
|
|
@ -2796,5 +2796,12 @@ public:
|
|||
static network::Packet build(int32_t titleBit);
|
||||
};
|
||||
|
||||
/** CMSG_ALTER_APPEARANCE – barber shop: change hair style, color, facial hair.
|
||||
* Payload: uint32 hairStyle, uint32 hairColor, uint32 facialHair. */
|
||||
class AlterAppearancePacket {
|
||||
public:
|
||||
static network::Packet build(uint32_t hairStyle, uint32_t hairColor, uint32_t facialHair);
|
||||
};
|
||||
|
||||
} // namespace game
|
||||
} // namespace wowee
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue