summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/EmblemSlotStatus.cs
blob: 1e865d8064f795f84707d7ae631fe35f6c008d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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;
		}
	}
}