[DiscordArchive] you are workin on WBS as well ?
[DiscordArchive] you are workin on WBS as well ?
Archived author: A2 • Posted: 2022-03-14T18:45:37.656000+00:00
Original source
you are workin on WBS as well ?
Archived author: Dep • Posted: 2022-03-14T18:48:09.471000+00:00
Original source
```cpp
class PlayedTimeClient final : public ClientPacket
{
public:
PlayedTimeClient(WorldPacket&& packet) : ClientPacket(CMSG_PLAYED_TIME, std::move(packet)) { }
void Read() override;
bool TriggerScriptEvent = false;
};
```
Archived author: Dep • Posted: 2022-03-14T18:48:32.460000+00:00
Original source
this is the only thing talking about a character online except for if their hat or cloak is visible.
Archived author: <o> • Posted: 2022-03-14T18:49:58.604000+00:00
Original source
not actively at the moment, too much tswow things right now
Archived author: Dep • Posted: 2022-03-14T19:06:24.762000+00:00
Original source
this file with the opcodes is looooong
Archived author: Dep • Posted: 2022-03-14T19:07:59.941000+00:00
Original source
`CMSG_CHAR_FACTION_CHANGE` maybe
Archived author: Dep • Posted: 2022-03-14T19:09:22.363000+00:00
Original source
no that's the server receiving
Archived author: Dep • Posted: 2022-03-14T19:10:44.126000+00:00
Original source
```cpp
void WorldSession::SendCharFactionChange(ResponseCodes result, CharacterFactionChangeInfo const* factionChangeInfo)
{
WorldPacket data(SMSG_CHAR_FACTION_CHANGE, 1 + 8 + factionChangeInfo->Name.size() + 1 + 7);
data << uint8(result);
if (result == RESPONSE_SUCCESS)
{
data << factionChangeInfo->Guid;
data << factionChangeInfo->Name;
data << uint8(factionChangeInfo->Gender);
data << uint8(factionChangeInfo->Skin);
data << uint8(factionChangeInfo->Face);
data << uint8(factionChangeInfo->HairStyle);
data << uint8(factionChangeInfo->HairColor);
data << uint8(factionChangeInfo->FacialHair);
data << uint8(factionChangeInfo->Race);
}
SendPacket(&data);
}
```