#include "rlGamerHandle.hpp" #include "rage/datBitBuffer.hpp" bool rage::rlGamerHandle::Serialize(rage::datBitBuffer& buf) const { buf.Write(m_Platform, 8); if (m_Platform != 3) return false; buf.Write(m_RockstarId, 64); buf.Write(m_UnkData, 16); return true; } bool rage::rlGamerHandle::Deserialize(rage::datBitBuffer& buf) { m_Platform = buf.Read(8); if (m_Platform != 3) return false; m_RockstarId = buf.Read(64); m_UnkData = buf.Read(16); return true; }