public void AddPointers(Vault vault) { AutoSculptCamera1.AddPointers(vault); AutoSculptCamera2.AddPointers(vault); AutoSculptCamera3.AddPointers(vault); PartDetails.AddPointers(vault); _offerIdText.AddPointers(vault); }
public void WritePointerData(Vault vault, BinaryWriter bw) { AutoSculptCamera1.WritePointerData(vault, bw); AutoSculptCamera2.WritePointerData(vault, bw); AutoSculptCamera3.WritePointerData(vault, bw); PartDetails.WritePointerData(vault, bw); _offerIdText.WritePointerData(vault, bw); }
public void ReadPointerData(Vault vault, BinaryReader br) { AutoSculptCamera1.ReadPointerData(vault, br); AutoSculptCamera2.ReadPointerData(vault, br); AutoSculptCamera3.ReadPointerData(vault, br); PartDetails.ReadPointerData(vault, br); _offerIdText.ReadPointerData(vault, br); OfferID = _offerIdText.Value; }
public override void Write(Vault vault, BinaryWriter bw) { bw.Write(HAL_ID); bw.Write(CF_HAL_ID); bw.Write(Price); bw.Write(Drift); bw.Write(Drag); bw.Write(Grip); bw.Write(Speed); bw.Write(Tier); bw.Write(BrandHALId); bw.Write(LogoTextureId); bw.Write((byte)AutoSculptCamera1.Items.Count); bw.Write((byte)AutoSculptCamera2.Items.Count); bw.Write((byte)AutoSculptCamera3.Items.Count); bw.Write((byte)0); AutoSculptCamera1.Write(vault, bw); AutoSculptCamera2.Write(vault, bw); AutoSculptCamera3.Write(vault, bw); bw.Write(DetailHash); PartDetails.Write(vault, bw); _offerIdText.Write(vault, bw); }