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/OneMentorApplyStudentShow.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/OneMentorApplyStudentShow.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/OneMentorApplyStudentShow.cs | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/OneMentorApplyStudentShow.cs b/Client/Assets/Scripts/XMainClient/KKSG/OneMentorApplyStudentShow.cs new file mode 100644 index 00000000..736227ef --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/OneMentorApplyStudentShow.cs @@ -0,0 +1,121 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "OneMentorApplyStudentShow")]
+ [Serializable]
+ public class OneMentorApplyStudentShow : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "oneStudent", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public RoleBriefInfo oneStudent
+ {
+ get
+ {
+ return this._oneStudent;
+ }
+ set
+ {
+ this._oneStudent = value;
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "hasApply", DataFormat = DataFormat.Default)]
+ public bool hasApply
+ {
+ get
+ {
+ return this._hasApply ?? false;
+ }
+ set
+ {
+ this._hasApply = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool hasApplySpecified
+ {
+ get
+ {
+ return this._hasApply != null;
+ }
+ set
+ {
+ bool flag = value == (this._hasApply == null);
+ if (flag)
+ {
+ this._hasApply = (value ? new bool?(this.hasApply) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "applyWords", DataFormat = DataFormat.Default)]
+ public string applyWords
+ {
+ get
+ {
+ return this._applyWords ?? "";
+ }
+ set
+ {
+ this._applyWords = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool applyWordsSpecified
+ {
+ get
+ {
+ return this._applyWords != null;
+ }
+ set
+ {
+ bool flag = value == (this._applyWords == null);
+ if (flag)
+ {
+ this._applyWords = (value ? this.applyWords : null);
+ }
+ }
+ }
+
+ private RoleBriefInfo _oneStudent = null;
+
+ private bool? _hasApply;
+
+ private string _applyWords;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializehasApply()
+ {
+ return this.hasApplySpecified;
+ }
+
+ private void ResethasApply()
+ {
+ this.hasApplySpecified = false;
+ }
+
+ private bool ShouldSerializeapplyWords()
+ {
+ return this.applyWordsSpecified;
+ }
+
+ private void ResetapplyWords()
+ {
+ this.applyWordsSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|