Goku97
Member
- Joined
- May 23, 2016
- Messages
- 123
- Solutions
- 2
- Reaction score
- 6
-empty-
Attachments
-
Untitled.png7.3 KB · Views: 104 · VirusTotal
Last edited:
void ProtocolGame::AddPlayerSkills(NetworkMessage& msg)
{
msg.addByte(0xA1);
for (uint8_t i = SKILL_FIRST; i < SKILL_LAST; ++i) {
msg.addByte(std::min<int32_t>(player->getSkillLevel(i), std::numeric_limits<uint16_t>::max()));
msg.addByte(player->getSkillPercent(i));
}
msg.addByte(123);
msg.addByte(36);
}