summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs
blob: 958d3800bf47eea47333ca34371731bc5cb6ec12 (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
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal class EquipAttrRange
	{
		public float Min
		{
			get
			{
				return this.m_min;
			}
		}

		public float Max
		{
			get
			{
				return this.m_max;
			}
		}

		public float D_value
		{
			get
			{
				return this.m_max - this.m_min;
			}
		}

		public uint Prob
		{
			get
			{
				return this.m_prob;
			}
		}

		private float m_min = 0f;

		private float m_max = 0f;

		private uint m_prob = 0u;

		public EquipAttrRange(SeqRef<uint> seq)
		{
			this.m_min = seq[0];
			this.m_max = seq[1];
		}
	}
}