feat(netMsg): log chat and text messages (#567)

This commit is contained in:
Demae
2022-11-12 03:17:22 +10:30
committed by GitHub
parent 08502a2cd4
commit f34b9c0af6
6 changed files with 41 additions and 10 deletions

View File

@ -38,7 +38,7 @@ namespace rage
return big::g_pointers->m_read_bitbuf_bool(this, integer, 1);
}
bool ReadPeerId(uint64_t* integer) {
return this->ReadQWord(integer, 0x32);
return this->ReadQWord(integer, 0x40);
}
uint64_t ReadBits(size_t numBits) {
auto const totalBits = (m_flagBits & 1) ? m_maxBit : m_curBit;