public void ReadFrom(BanchoPacketReader sr) { id = sr.ReadInt16(); beatmapId = sr.ReadInt32(); beatmapSetId = sr.ReadInt32(); threadId = sr.ReadInt32(); ranked = sr.ReadByte(); osuRank = (Ranks)sr.ReadByte(); fruitsRank = (Ranks)sr.ReadByte(); taikoRank = (Ranks)sr.ReadByte(); maniaRank = (Ranks)sr.ReadByte(); checksum = sr.ReadString(); }
public void ReadFrom(BanchoPacketReader reader) { (name, topic) = (reader.ReadString(), reader.ReadString()); online_users = reader.ReadInt16(); }