public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     var limit = reader.ReadUShort();
     presets = new Types.Preset[limit];
     for (int i = 0; i < limit; i++)
     {
          presets[i] = new Types.Preset();
          presets[i].Deserialize(reader);
     }
 }
        public override void Deserialize(BigEndianReader reader)
        {
            base.Deserialize(reader);
            var limit = reader.ReadUShort();

            presets = new Types.Preset[limit];
            for (int i = 0; i < limit; i++)
            {
                presets[i] = new Types.Preset();
                presets[i].Deserialize(reader);
            }
        }
Beispiel #3
0
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            var limit    = reader.ReadUShort();
            var presets_ = new Types.Preset[limit];

            for (int i = 0; i < limit; i++)
            {
                presets_[i] = new Types.Preset();
                presets_[i].Deserialize(reader);
            }
            presets = presets_;
        }
Beispiel #4
0
        public void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            var limit = reader.ReadUShort();

            presets = new Types.Preset[limit];
            for (int i = 0; i < limit; i++)
            {
                presets[i] = new Types.Preset();
                presets[i].Deserialize(reader);
            }
            limit        = reader.ReadUShort();
            idolsPresets = new Types.IdolsPreset[limit];
            for (int i = 0; i < limit; i++)
            {
                idolsPresets[i] = new Types.IdolsPreset();
                idolsPresets[i].Deserialize(reader);
            }
        }
Beispiel #5
0
 public override void Deserialize(IDataReader reader)
 {
     preset = new Types.Preset();
     preset.Deserialize(reader);
 }
Beispiel #6
0
 public InventoryPresetUpdateMessage(Types.Preset preset)
 {
     this.preset = preset;
 }
 public override void Deserialize(ICustomDataInput reader)
 {
     preset = new Types.Preset();
     preset.Deserialize(reader);
 }
 public override void Deserialize(BigEndianReader reader)
 {
     preset = new Types.Preset();
     preset.Deserialize(reader);
 }
 public override void Deserialize(IDataReader reader)
 {
     preset = new Types.Preset();
     preset.Deserialize(reader);
 }
 public InventoryPresetUpdateMessage(Types.Preset preset)
 {
     this.preset = preset;
 }
 public override void Deserialize(IDataReader reader)
 {
     presetId = reader.ReadShort();
     preset   = ProtocolTypeManager.GetInstance <Types.Preset>(reader.ReadUShort());
     preset.Deserialize(reader);
 }
 public PresetSavedMessage(short presetId, Types.Preset preset)
 {
     this.presetId = presetId;
     this.preset   = preset;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     preset = new Types.Preset();
     preset.Deserialize(reader);
 }
 public override void Deserialize(ICustomDataInput reader)
 {
     preset = new Types.Preset();
     preset.Deserialize(reader);
 }