From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/KKSG/RoleFindBackRecord.cs | 376 +++++++++++++++++++++ 1 file changed, 376 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/RoleFindBackRecord.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/RoleFindBackRecord.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/RoleFindBackRecord.cs b/Client/Assets/Scripts/XMainClient/KKSG/RoleFindBackRecord.cs new file mode 100644 index 00000000..220561d4 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/RoleFindBackRecord.cs @@ -0,0 +1,376 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "RoleFindBackRecord")] + [Serializable] + public class RoleFindBackRecord : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "openTime", DataFormat = DataFormat.TwosComplement)] + public int openTime + { + get + { + return this._openTime ?? 0; + } + set + { + this._openTime = new int?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool openTimeSpecified + { + get + { + return this._openTime != null; + } + set + { + bool flag = value == (this._openTime == null); + if (flag) + { + this._openTime = (value ? new int?(this.openTime) : null); + } + } + } + + [ProtoMember(2, IsRequired = false, Name = "updateTime", DataFormat = DataFormat.TwosComplement)] + public int updateTime + { + get + { + return this._updateTime ?? 0; + } + set + { + this._updateTime = new int?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool updateTimeSpecified + { + get + { + return this._updateTime != null; + } + set + { + bool flag = value == (this._updateTime == null); + if (flag) + { + this._updateTime = (value ? new int?(this.updateTime) : null); + } + } + } + + [ProtoMember(3, IsRequired = false, Name = "isFoundBack", DataFormat = DataFormat.Default)] + public bool isFoundBack + { + get + { + return this._isFoundBack ?? false; + } + set + { + this._isFoundBack = new bool?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool isFoundBackSpecified + { + get + { + return this._isFoundBack != null; + } + set + { + bool flag = value == (this._isFoundBack == null); + if (flag) + { + this._isFoundBack = (value ? new bool?(this.isFoundBack) : null); + } + } + } + + [ProtoMember(4, Name = "usedInfos", DataFormat = DataFormat.Default)] + public List usedInfos + { + get + { + return this._usedInfos; + } + } + + [ProtoMember(5, Name = "curUsedInfos", DataFormat = DataFormat.Default)] + public List curUsedInfos + { + get + { + return this._curUsedInfos; + } + } + + [ProtoMember(6, IsRequired = false, Name = "findBackOpenTime", DataFormat = DataFormat.TwosComplement)] + public int findBackOpenTime + { + get + { + return this._findBackOpenTime ?? 0; + } + set + { + this._findBackOpenTime = new int?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool findBackOpenTimeSpecified + { + get + { + return this._findBackOpenTime != null; + } + set + { + bool flag = value == (this._findBackOpenTime == null); + if (flag) + { + this._findBackOpenTime = (value ? new int?(this.findBackOpenTime) : null); + } + } + } + + [ProtoMember(7, IsRequired = false, Name = "itemBackUpdateTime", DataFormat = DataFormat.TwosComplement)] + public int itemBackUpdateTime + { + get + { + return this._itemBackUpdateTime ?? 0; + } + set + { + this._itemBackUpdateTime = new int?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool itemBackUpdateTimeSpecified + { + get + { + return this._itemBackUpdateTime != null; + } + set + { + bool flag = value == (this._itemBackUpdateTime == null); + if (flag) + { + this._itemBackUpdateTime = (value ? new int?(this.itemBackUpdateTime) : null); + } + } + } + + [ProtoMember(8, Name = "itemFindBackInfosHis", DataFormat = DataFormat.Default)] + public List itemFindBackInfosHis + { + get + { + return this._itemFindBackInfosHis; + } + } + + [ProtoMember(9, Name = "itemFindBackInfoCur", DataFormat = DataFormat.Default)] + public List itemFindBackInfoCur + { + get + { + return this._itemFindBackInfoCur; + } + } + + [ProtoMember(10, IsRequired = false, Name = "unlockSealTime", DataFormat = DataFormat.TwosComplement)] + public uint unlockSealTime + { + get + { + return this._unlockSealTime ?? 0u; + } + set + { + this._unlockSealTime = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool unlockSealTimeSpecified + { + get + { + return this._unlockSealTime != null; + } + set + { + bool flag = value == (this._unlockSealTime == null); + if (flag) + { + this._unlockSealTime = (value ? new uint?(this.unlockSealTime) : null); + } + } + } + + [ProtoMember(11, Name = "unlockSealData", DataFormat = DataFormat.Default)] + public List unlockSealData + { + get + { + return this._unlockSealData; + } + } + + [ProtoMember(12, IsRequired = false, Name = "notifyBackTime", DataFormat = DataFormat.TwosComplement)] + public int notifyBackTime + { + get + { + return this._notifyBackTime ?? 0; + } + set + { + this._notifyBackTime = new int?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool notifyBackTimeSpecified + { + get + { + return this._notifyBackTime != null; + } + set + { + bool flag = value == (this._notifyBackTime == null); + if (flag) + { + this._notifyBackTime = (value ? new int?(this.notifyBackTime) : null); + } + } + } + + private int? _openTime; + + private int? _updateTime; + + private bool? _isFoundBack; + + private readonly List _usedInfos = new List(); + + private readonly List _curUsedInfos = new List(); + + private int? _findBackOpenTime; + + private int? _itemBackUpdateTime; + + private readonly List _itemFindBackInfosHis = new List(); + + private readonly List _itemFindBackInfoCur = new List(); + + private uint? _unlockSealTime; + + private readonly List _unlockSealData = new List(); + + private int? _notifyBackTime; + + private IExtension extensionObject; + + private bool ShouldSerializeopenTime() + { + return this.openTimeSpecified; + } + + private void ResetopenTime() + { + this.openTimeSpecified = false; + } + + private bool ShouldSerializeupdateTime() + { + return this.updateTimeSpecified; + } + + private void ResetupdateTime() + { + this.updateTimeSpecified = false; + } + + private bool ShouldSerializeisFoundBack() + { + return this.isFoundBackSpecified; + } + + private void ResetisFoundBack() + { + this.isFoundBackSpecified = false; + } + + private bool ShouldSerializefindBackOpenTime() + { + return this.findBackOpenTimeSpecified; + } + + private void ResetfindBackOpenTime() + { + this.findBackOpenTimeSpecified = false; + } + + private bool ShouldSerializeitemBackUpdateTime() + { + return this.itemBackUpdateTimeSpecified; + } + + private void ResetitemBackUpdateTime() + { + this.itemBackUpdateTimeSpecified = false; + } + + private bool ShouldSerializeunlockSealTime() + { + return this.unlockSealTimeSpecified; + } + + private void ResetunlockSealTime() + { + this.unlockSealTimeSpecified = false; + } + + private bool ShouldSerializenotifyBackTime() + { + return this.notifyBackTimeSpecified; + } + + private void ResetnotifyBackTime() + { + this.notifyBackTimeSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0