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

namespace XMainClient
{
	internal struct XRandAttrInfo
	{
		public bool bPreview;

		public List<XItemChangeAttr> RandAttr;

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