属性控制
This commit is contained in:
@@ -98,7 +98,7 @@ namespace NBF.Fishing2
|
||||
{
|
||||
App.Main.EventComponent.Publish(new NumericChange()
|
||||
{ MapUnit = self.GetParent<MapUnit>(), New = value, Old = oldValue, NumericType = numericType });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static long GetByKey(this NumericComponent self, int key)
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
public static class NumericType
|
||||
{
|
||||
public const int Max = 10000;
|
||||
|
||||
/// <summary>
|
||||
/// 手电筒
|
||||
/// </summary>
|
||||
public const int Flashlight = 100;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user