Exemplo n.º 1
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     action             = (PlayerAction)reader.ReadByte();
     action_description = reader.ReadString();
     beatmap_checksum   = reader.ReadString();
     mods       = (Mods)reader.ReadUInt32();
     mode       = (GameMode)reader.ReadByte();
     beatmap_id = reader.ReadInt32();
 }
Exemplo n.º 2
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.º 3
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     user_id   = reader.ReadInt32();
     quit_type = (UserQuitType)reader.ReadByte();
 }