地图相关脚本
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user