public void WriteToStream(OsuWriter o) { o.Write(Version); o.Write(NumberOfCollections); foreach (Collection item in Collections) { item.WriteToSteam(o); } }
public void WriteToStream(OsuWriter o) { o.Write(MD5); o.Write(NumberOfScores); foreach (var score in Scores) { score.WriteToStream(o); } }
public void WriteToStream(OsuWriter o) { o.Write(Version); o.Write(Amount); foreach (var person in People) { person.WriteToStream(o); } }
public void WriteToStream(OsuWriter o) { o.Write(Version); o.Write(NumberOfBeatmaps); foreach (var beatmap in Beatmaps) { beatmap.WriteToStream(o); } }
public void WriteToSteam(OsuWriter o) { o.Write(Name); o.Write(NumberOfBeatmaps); foreach (string item in MD5s) { o.Write(item); } }
public void WriteToStream(OsuWriter o) { o.Write(PlayerId); o.Write(Name); o.Write(Country1); o.Write(Country2); o.Write(Unknown); o.Write(Unknown2); o.Write(Rank); o.Write(Unknown3); }
public void WriteToStream(OsuWriter o) { o.Write(Version); o.Write(FolderCount); o.Write(AccountUnlocked); o.Write(UnlockDate); o.Write(PlayerName); o.Write(NumberOfBeatmaps); foreach (var beatmap in Beatmaps) { beatmap.WriteToStream(o); } o.Write((int)UserPermission); }
public void WriteToStream(OsuWriter o) { o.Write(SizeInBytes); o.Write(ArtistName); o.Write(ArtistNameUnicode); o.Write(SongTitle); o.Write(SongTitleUnicode); o.Write(CreatorName); o.Write(Difficulty); o.Write(AudioFileName); o.Write(MD5Beatmap); o.Write(NameDotOsuFile); o.Write((byte)RankedStatus); o.Write(NumberOfHitcircles); o.Write(NumberOfSliders); o.Write(NumberOfSpinners); o.Write(ModificationTime); // next 4 are bytes for versions smaller than 20140609 if (Version >= 20140609) { o.Write(ApproacRate); o.Write(CircleSize); o.Write(HPDrain); o.Write(OverallDifficulty); } else { o.Write(ApproacRateB); o.Write(CircleSizeB); o.Write(HPDrainB); o.Write(OverallDifficultyB); } o.Write(SliderVelocity); // next part only present if version greater or equal to 20140609 if (Version >= 20140609) { o.Write(AmountOfPairsStandard); foreach (var pair in PairsStandard) { o.Write(pair); } o.Write(AmountOfPairsTaiko); foreach (var pair in PairsTaiko) { o.Write(pair); } o.Write(AmountOfPairsCTB); foreach (var pair in PairsCTB) { o.Write(pair); } o.Write(AmountOfPairsMania); foreach (var pair in PairsMania) { o.Write(pair); } } o.Write(DrainTime); o.Write(TotalTime); o.Write(TimeOfPreview); o.Write(AmountOfTimingPoints); foreach (var tp in TimingPoints) { o.Write(tp); } o.Write(BeatmapID); o.Write(BeatmapSetID); o.Write(ThreadID); o.Write((byte)GradeAchievedStandard); o.Write((byte)GradeAchievedTaiko); o.Write((byte)GradeAchievedCTB); o.Write((byte)GradeAchievedMania); o.Write(LocalBeatmapOffset); o.Write(StackLeniency); o.Write((byte)GameplayMode); o.Write(SongSource); o.Write(SongTags); o.Write(OnlineOffset); o.Write(Font); o.Write(Unplayed); o.Write(LastTimePlayed); o.Write(Osz2); o.Write(FolderName); o.Write(LastTimeChecked); o.Write(IgnoreBeatmapSound); o.Write(IgnoreBeatmapSkin); o.Write(DisableStoryboard); o.Write(DisableVideo); o.Write(VisualOverride); // unknown short, only present if version less than 20140609 if (Version < 20140609) { o.Write(Unknown); } o.Write(LastModificationTime); o.Write(ManiaScrollSpeed); }
public void WriteToStream(OsuWriter o) { o.Write((byte)Mode); o.Write(Version); o.Write(BeatmapMD5); o.Write(PlayerName); o.Write(ReplayMD5); o.Write(NumberOfHitValue1); o.Write(NumberOfHitValue2); o.Write(NumberOfHitValue3); o.Write(NumberOfHitValue4); o.Write(NumberOfHitValue5); o.Write(NumberOfMisses); o.Write(ReplayScore); o.Write(MaxCombo); o.Write(PerfectCombo); o.Write((int)Mods); // string: should always be empty o.Write((byte)0); o.Write(Timestamp); // int Constant, should always be 0xffffffff (-1) o.Write(-1); o.Write(OnlineScoreID); }