Пример #1
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     user_id = reader.ReadInt32();
     status.ReadFrom(reader);
     score_ranked = reader.ReadInt64();
     acc          = reader.ReadSingle();
     count_plays  = reader.ReadInt32();
     score_total  = reader.ReadInt64();
     rank         = reader.ReadInt32();
     pp_count     = reader.ReadInt16();
 }
Пример #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();
 }
Пример #3
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     sender    = reader.ReadString();
     message   = reader.ReadString();
     channel   = reader.ReadString();
     sender_id = reader.ReadInt32();
 }
Пример #4
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();
 }
Пример #5
0
 public int length; // in seconds
 public void ReadFrom(BanchoPacketReader reader)
 {
     length = reader.ReadInt32();
 }
Пример #6
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     permission = reader.ReadInt32();
 }
Пример #7
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     user_id   = reader.ReadInt32();
     quit_type = (UserQuitType)reader.ReadByte();
 }
Пример #8
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     this.user_id = reader.ReadInt32();
 }
Пример #9
0
 public void ReadFrom(BanchoPacketReader reader)
 {
     player = reader.ReadInt32();
 }