summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs
blob: 4ac0dc7ceb871ded0bdffa68ecc9400ba6142c03 (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
using System;
using System.Collections.Generic;

namespace XMainClient
{
	internal struct XForgeAttrInfo
	{
		public bool bPreview;

		public uint UnSavedAttrid;

		public uint UnSavedAttrValue;

		public List<XItemChangeAttr> ForgeAttr;

		public void Init()
		{
			this.bPreview = false;
			this.UnSavedAttrid = 0u;
			this.UnSavedAttrValue = 0u;
			bool flag = this.ForgeAttr == null;
			if (flag)
			{
				this.ForgeAttr = new List<XItemChangeAttr>();
			}
			else
			{
				this.ForgeAttr.Clear();
			}
		}
	}
}