Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Add wardrobe bits at 0x5C to S2C 0x037 #5630

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/map/packets/char_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,15 @@ CCharUpdatePacket::CCharUpdatePacket(CCharEntity* PChar)
packet.Flags6 = flags6;

std::memcpy(&data[0], &packet, sizeof(packet));

// Mog wardrobe enabled bits (apparently used by windower in get_bag_info(N).enabled):
// 0x01 = Wardrobe 3
// 0x02 = Wardrobe 4
// 0x04 = Unknown (not set in retail?)
// 0x08 = Wardrobe 5
// 0x10 = Wardrobe 6
// 0x20 = Wardrobe 7
// 0x40 = Wardrobe 8
ref<uint8>(0x5C) = 0x7B;
// This field is probably deprecated because the client reads it in and doesn't use it.
}
Loading