Ejemplo n.º 1
0
 public void ReadFromStream(MStreamReader sr)
 {
     Time         = sr.ReadInt32();
     Id           = sr.ReadByte();
     Count300     = sr.ReadUInt16();
     Count100     = sr.ReadUInt16();
     Count50      = sr.ReadUInt16();
     CountGeki    = sr.ReadUInt16();
     CountKatu    = sr.ReadUInt16();
     CountMiss    = sr.ReadUInt16();
     TotalScore   = sr.ReadInt32();
     MaxCombo     = sr.ReadUInt16();
     CurrentCombo = sr.ReadUInt16();
     Perfect      = sr.ReadBoolean();
     CurrentHp    = sr.ReadByte();
     TagByte      = sr.ReadByte();
     ScoreV2      = sr.ReadBoolean();
     ComboPortion = ScoreV2 ? sr.ReadDouble() : 0;
     BonusPortion = ScoreV2 ? sr.ReadDouble() : 0;
 }