属性控制

This commit is contained in:
2025-09-14 16:26:41 +08:00
parent 57d360f922
commit 3c022ff4b6
43 changed files with 343 additions and 340 deletions

View File

@@ -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)

View File

@@ -3,6 +3,9 @@
public static class NumericType
{
public const int Max = 10000;
/// <summary>
/// 手电筒
/// </summary>
public const int Flashlight = 100;
}
}