Пример #1
0
 public override void Read(Vault vault, BinaryReader br)
 {
     _copType = new StringKey64(Class, Field, Collection);
     _copType.Read(vault, br);
     Count  = br.ReadUInt32();
     Chance = br.ReadUInt32();
 }
        public override void Read(Vault vault, BinaryReader br)
        {
            _deviceID = new StringKey64(Class, Field, Collection);
            _deviceID.Read(vault, br);
            UpdateType = br.ReadEnum <InputUpdateType>();
            LowerDZ    = br.ReadSingle();
            UpperDZ    = br.ReadSingle();
            uint unk = br.ReadUInt32();

            Debug.Assert(unk == 0);
        }