From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XMainClient/EmblemSlotStatus.cs | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs (limited to 'Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs') 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; + } + } +} -- cgit v1.1-26-g67d0