diff options
| author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
| commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
| tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/MentorMyBeAppliedMsgArg.cs | |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/MentorMyBeAppliedMsgArg.cs')
| -rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/MentorMyBeAppliedMsgArg.cs | 234 |
1 files changed, 234 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/MentorMyBeAppliedMsgArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/MentorMyBeAppliedMsgArg.cs new file mode 100644 index 00000000..ee435009 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/MentorMyBeAppliedMsgArg.cs @@ -0,0 +1,234 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "MentorMyBeAppliedMsgArg")]
+ [Serializable]
+ public class MentorMyBeAppliedMsgArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "operation", DataFormat = DataFormat.TwosComplement)]
+ public EMentorMsgOpType operation
+ {
+ get
+ {
+ return this._operation ?? EMentorMsgOpType.EMentorMsgOp_Get;
+ }
+ set
+ {
+ this._operation = new EMentorMsgOpType?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool operationSpecified
+ {
+ get
+ {
+ return this._operation != null;
+ }
+ set
+ {
+ bool flag = value == (this._operation == null);
+ if (flag)
+ {
+ this._operation = (value ? new EMentorMsgOpType?(this.operation) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "roleID", DataFormat = DataFormat.TwosComplement)]
+ public ulong roleID
+ {
+ get
+ {
+ return this._roleID ?? 0UL;
+ }
+ set
+ {
+ this._roleID = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool roleIDSpecified
+ {
+ get
+ {
+ return this._roleID != null;
+ }
+ set
+ {
+ bool flag = value == (this._roleID == null);
+ if (flag)
+ {
+ this._roleID = (value ? new ulong?(this.roleID) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "msgType", DataFormat = DataFormat.TwosComplement)]
+ public MentorMsgApplyType msgType
+ {
+ get
+ {
+ return this._msgType ?? MentorMsgApplyType.MentorMsgApplyMaster;
+ }
+ set
+ {
+ this._msgType = new MentorMsgApplyType?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool msgTypeSpecified
+ {
+ get
+ {
+ return this._msgType != null;
+ }
+ set
+ {
+ bool flag = value == (this._msgType == null);
+ if (flag)
+ {
+ this._msgType = (value ? new MentorMsgApplyType?(this.msgType) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "taskID", DataFormat = DataFormat.TwosComplement)]
+ public int taskID
+ {
+ get
+ {
+ return this._taskID ?? 0;
+ }
+ set
+ {
+ this._taskID = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool taskIDSpecified
+ {
+ get
+ {
+ return this._taskID != null;
+ }
+ set
+ {
+ bool flag = value == (this._taskID == null);
+ if (flag)
+ {
+ this._taskID = (value ? new int?(this.taskID) : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "operatingAllTask", DataFormat = DataFormat.Default)]
+ public bool operatingAllTask
+ {
+ get
+ {
+ return this._operatingAllTask ?? false;
+ }
+ set
+ {
+ this._operatingAllTask = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool operatingAllTaskSpecified
+ {
+ get
+ {
+ return this._operatingAllTask != null;
+ }
+ set
+ {
+ bool flag = value == (this._operatingAllTask == null);
+ if (flag)
+ {
+ this._operatingAllTask = (value ? new bool?(this.operatingAllTask) : null);
+ }
+ }
+ }
+
+ private EMentorMsgOpType? _operation;
+
+ private ulong? _roleID;
+
+ private MentorMsgApplyType? _msgType;
+
+ private int? _taskID;
+
+ private bool? _operatingAllTask;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeoperation()
+ {
+ return this.operationSpecified;
+ }
+
+ private void Resetoperation()
+ {
+ this.operationSpecified = false;
+ }
+
+ private bool ShouldSerializeroleID()
+ {
+ return this.roleIDSpecified;
+ }
+
+ private void ResetroleID()
+ {
+ this.roleIDSpecified = false;
+ }
+
+ private bool ShouldSerializemsgType()
+ {
+ return this.msgTypeSpecified;
+ }
+
+ private void ResetmsgType()
+ {
+ this.msgTypeSpecified = false;
+ }
+
+ private bool ShouldSerializetaskID()
+ {
+ return this.taskIDSpecified;
+ }
+
+ private void ResettaskID()
+ {
+ this.taskIDSpecified = false;
+ }
+
+ private bool ShouldSerializeoperatingAllTask()
+ {
+ return this.operatingAllTaskSpecified;
+ }
+
+ private void ResetoperatingAllTask()
+ {
+ this.operatingAllTaskSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|
