Beispiel #1
0
 public void AddPointers(Vault vault)
 {
     AutoSculptCamera1.AddPointers(vault);
     AutoSculptCamera2.AddPointers(vault);
     AutoSculptCamera3.AddPointers(vault);
     PartDetails.AddPointers(vault);
     _offerIdText.AddPointers(vault);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
        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;
        }
Beispiel #4
0
 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);
 }