public override void OnDeserialize(BinaryReader stream, StringCacheTable _) { HitSound = (HitObjectSoundType)stream.ReadByte(); SampleSet = (SampleSetType)stream.ReadByte(); SampleSetAdditions = (SampleSetType)stream.ReadByte(); CustomSampleSet = (CustomSampleSetType)stream.ReadInt32(); }
public HitSoundInfo(double Time, HitObjectSoundType SoundType, SampleSetType SampleSet, CustomSampleSetType CustomSampleSet, SampleSetType SampleSetAdditions = SampleSetType.None) { this.SoundType = SoundType; this.SampleSet = SampleSet; this.SampleSetAdditions = SampleSetAdditions; this.CustomSampleSet = CustomSampleSet; this.Time = Time; }