summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs
blob: 87d9142ca0ad725c5e8972bf4e92c30a5490f9ae (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
using System;
using UnityEngine;

namespace XMainClient
{
	internal class XItemDrawerParam
	{
		public static uint DefaultProfession = 0u;

		public uint Profession = 0u;

		public uint IconType = 0u;

		public bool bShowLevelReq = true;

		public bool bShowProfReq = true;

		public bool bBinding = false;

		public int MaxItemCount = -1;

		public Color? NumColor = null;

		public bool bHideBinding;

		public bool bShowMask;

		public int MaxShowNum = -1;

		public void Reset()
		{
			this.Profession = XItemDrawerParam.DefaultProfession;
			this.IconType = 0u;
			this.bShowLevelReq = true;
			this.bShowProfReq = true;
			this.bBinding = false;
			this.MaxItemCount = -1;
			this.NumColor = null;
			this.bHideBinding = false;
			this.bShowMask = false;
			this.MaxShowNum = -1;
		}
	}
}