Exemple #1
0
 public void ReadFromStream(MStreamReader sr)
 {
     ButtonState = sr.ReadByte();
     Button      = sr.ReadByte();
     MouseX      = sr.ReadSingle();
     MouseY      = sr.ReadSingle();
     Time        = sr.ReadInt32();
 }
Exemple #2
0
 public void ReadFromStream(MStreamReader sr)
 {
     BeatmapId        = sr.ReadInt32();
     ParentSetId      = sr.ReadInt32();
     DiffName         = sr.ReadString();
     FileMd5          = sr.ReadString();
     Mode             = (PlayMode)sr.ReadSByte();
     Bpm              = sr.ReadInt32();
     Ar               = sr.ReadSingle();
     Od               = sr.ReadSingle();
     Cs               = sr.ReadSingle();
     Hp               = sr.ReadSingle();
     TotalLength      = sr.ReadInt32();
     Playcount        = sr.ReadInt32();
     Passcount        = sr.ReadInt32();
     MaxCombo         = sr.ReadInt64();
     DifficultyRating = sr.ReadDouble();
 }