Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     (name, topic) = (reader.ReadString(), reader.ReadString());
     online_users  = reader.ReadInt16();
 }