summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs b/Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs
new file mode 100644
index 00000000..958d3800
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/Equip/EquipAttrRange.cs
@@ -0,0 +1,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];
+ }
+ }
+}