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/EmblemSlotStatus.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs b/Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs new file mode 100644 index 00000000..1e865d80 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs @@ -0,0 +1,58 @@ +using System;
+
+namespace XMainClient
+{
+ internal class EmblemSlotStatus
+ {
+ public bool LevelIsdOpen
+ {
+ get
+ {
+ return this.m_levelIsOpen;
+ }
+ set
+ {
+ this.m_levelIsOpen = value;
+ }
+ }
+
+ public bool HadSlotting
+ {
+ get
+ {
+ return this.m_hadSlotting;
+ }
+ set
+ {
+ this.m_hadSlotting = value;
+ }
+ }
+
+ public bool IsLock
+ {
+ get
+ {
+ return !this.m_levelIsOpen | !this.m_hadSlotting;
+ }
+ }
+
+ public int Slot
+ {
+ get
+ {
+ return this.m_slot;
+ }
+ }
+
+ private bool m_levelIsOpen = false;
+
+ private bool m_hadSlotting = false;
+
+ private int m_slot = 0;
+
+ public EmblemSlotStatus(int slot)
+ {
+ this.m_slot = slot;
+ }
+ }
+}
|