地图相关脚本

This commit is contained in:
2025-09-01 23:57:00 +08:00
parent 1c0b272a6f
commit 48f608e534
26 changed files with 201 additions and 151 deletions

View File

@@ -20,7 +20,7 @@ namespace NBF.Fishing2
public struct NumericChange
{
public Unit Unit;
public MapUnit MapUnit;
public int NumericType;
public long Old;
public long New;
@@ -97,7 +97,7 @@ namespace NBF.Fishing2
if (isPublicEvent)
{
App.Main.EventComponent.Publish(new NumericChange()
{ Unit = self.GetParent<Unit>(), New = value, Old = oldValue, NumericType = numericType });
{ MapUnit = self.GetParent<MapUnit>(), New = value, Old = oldValue, NumericType = numericType });
}
}