using System; using System.Collections.Generic; using System.ComponentModel; using System.Xml.Serialization; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "FashionRecord")] [Serializable] public class FashionRecord : IExtensible { [ProtoMember(1, Name = "bodyfashion", DataFormat = DataFormat.Default)] public List bodyfashion { get { return this._bodyfashion; } } [ProtoMember(2, Name = "bagfashion", DataFormat = DataFormat.Default)] public List bagfashion { get { return this._bagfashion; } } [ProtoMember(3, Name = "collected", DataFormat = DataFormat.TwosComplement)] public List collected { get { return this._collected; } } [ProtoMember(4, Name = "display_fashion", DataFormat = DataFormat.TwosComplement)] public List display_fashion { get { return this._display_fashion; } } [ProtoMember(5, Name = "own_fashins", DataFormat = DataFormat.Default)] public List own_fashins { get { return this._own_fashins; } } [ProtoMember(6, Name = "own_display_items", DataFormat = DataFormat.TwosComplement)] public List own_display_items { get { return this._own_display_items; } } [ProtoMember(7, IsRequired = false, Name = "conversion", DataFormat = DataFormat.Default)] public bool conversion { get { return this._conversion ?? false; } set { this._conversion = new bool?(value); } } [XmlIgnore] [Browsable(false)] public bool conversionSpecified { get { return this._conversion != null; } set { bool flag = value == (this._conversion == null); if (flag) { this._conversion = (value ? new bool?(this.conversion) : null); } } } [ProtoMember(8, IsRequired = false, Name = "hair_color_id", DataFormat = DataFormat.TwosComplement)] public uint hair_color_id { get { return this._hair_color_id ?? 0u; } set { this._hair_color_id = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool hair_color_idSpecified { get { return this._hair_color_id != null; } set { bool flag = value == (this._hair_color_id == null); if (flag) { this._hair_color_id = (value ? new uint?(this.hair_color_id) : null); } } } [ProtoMember(9, Name = "hair_color_info", DataFormat = DataFormat.Default)] public List hair_color_info { get { return this._hair_color_info; } } [ProtoMember(10, Name = "fashionsynthersis_fail_info", DataFormat = DataFormat.Default)] public List fashionsynthersis_fail_info { get { return this._fashionsynthersis_fail_info; } } [ProtoMember(11, IsRequired = false, Name = "fashioncompose_time", DataFormat = DataFormat.TwosComplement)] public uint fashioncompose_time { get { return this._fashioncompose_time ?? 0u; } set { this._fashioncompose_time = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool fashioncompose_timeSpecified { get { return this._fashioncompose_time != null; } set { bool flag = value == (this._fashioncompose_time == null); if (flag) { this._fashioncompose_time = (value ? new uint?(this.fashioncompose_time) : null); } } } [ProtoMember(12, IsRequired = false, Name = "fashionibshop_buy_time", DataFormat = DataFormat.TwosComplement)] public uint fashionibshop_buy_time { get { return this._fashionibshop_buy_time ?? 0u; } set { this._fashionibshop_buy_time = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool fashionibshop_buy_timeSpecified { get { return this._fashionibshop_buy_time != null; } set { bool flag = value == (this._fashionibshop_buy_time == null); if (flag) { this._fashionibshop_buy_time = (value ? new uint?(this.fashionibshop_buy_time) : null); } } } [ProtoMember(13, IsRequired = false, Name = "special_effects_id", DataFormat = DataFormat.TwosComplement)] public uint special_effects_id { get { return this._special_effects_id ?? 0u; } set { this._special_effects_id = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool special_effects_idSpecified { get { return this._special_effects_id != null; } set { bool flag = value == (this._special_effects_id == null); if (flag) { this._special_effects_id = (value ? new uint?(this.special_effects_id) : null); } } } [ProtoMember(14, Name = "special_effects_list", DataFormat = DataFormat.TwosComplement)] public List special_effects_list { get { return this._special_effects_list; } } [ProtoMember(15, IsRequired = false, Name = "compose_success_num", DataFormat = DataFormat.TwosComplement)] public uint compose_success_num { get { return this._compose_success_num ?? 0u; } set { this._compose_success_num = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool compose_success_numSpecified { get { return this._compose_success_num != null; } set { bool flag = value == (this._compose_success_num == null); if (flag) { this._compose_success_num = (value ? new uint?(this.compose_success_num) : null); } } } [ProtoMember(16, IsRequired = false, Name = "compose_failed_num", DataFormat = DataFormat.TwosComplement)] public uint compose_failed_num { get { return this._compose_failed_num ?? 0u; } set { this._compose_failed_num = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool compose_failed_numSpecified { get { return this._compose_failed_num != null; } set { bool flag = value == (this._compose_failed_num == null); if (flag) { this._compose_failed_num = (value ? new uint?(this.compose_failed_num) : null); } } } [ProtoMember(17, Name = "quality_num_list", DataFormat = DataFormat.Default)] public List quality_num_list { get { return this._quality_num_list; } } private readonly List _bodyfashion = new List(); private readonly List _bagfashion = new List(); private readonly List _collected = new List(); private readonly List _display_fashion = new List(); private readonly List _own_fashins = new List(); private readonly List _own_display_items = new List(); private bool? _conversion; private uint? _hair_color_id; private readonly List _hair_color_info = new List(); private readonly List _fashionsynthersis_fail_info = new List(); private uint? _fashioncompose_time; private uint? _fashionibshop_buy_time; private uint? _special_effects_id; private readonly List _special_effects_list = new List(); private uint? _compose_success_num; private uint? _compose_failed_num; private readonly List _quality_num_list = new List(); private IExtension extensionObject; private bool ShouldSerializeconversion() { return this.conversionSpecified; } private void Resetconversion() { this.conversionSpecified = false; } private bool ShouldSerializehair_color_id() { return this.hair_color_idSpecified; } private void Resethair_color_id() { this.hair_color_idSpecified = false; } private bool ShouldSerializefashioncompose_time() { return this.fashioncompose_timeSpecified; } private void Resetfashioncompose_time() { this.fashioncompose_timeSpecified = false; } private bool ShouldSerializefashionibshop_buy_time() { return this.fashionibshop_buy_timeSpecified; } private void Resetfashionibshop_buy_time() { this.fashionibshop_buy_timeSpecified = false; } private bool ShouldSerializespecial_effects_id() { return this.special_effects_idSpecified; } private void Resetspecial_effects_id() { this.special_effects_idSpecified = false; } private bool ShouldSerializecompose_success_num() { return this.compose_success_numSpecified; } private void Resetcompose_success_num() { this.compose_success_numSpecified = false; } private bool ShouldSerializecompose_failed_num() { return this.compose_failed_numSpecified; } private void Resetcompose_failed_num() { this.compose_failed_numSpecified = false; } IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }