25 lines
455 B
C#
25 lines
455 B
C#
using Fantasy.Async;
|
|
using NBC;
|
|
using Fantasy.Entitas;
|
|
|
|
namespace NBF.Fishing2
|
|
{
|
|
public static class UnitHelper
|
|
{
|
|
public static async FTask InitMapUnit(this MapUnit self)
|
|
{
|
|
await FTask.CompletedTask;
|
|
}
|
|
|
|
|
|
public static bool IsSelf(this MapUnit self)
|
|
{
|
|
if (self.Id == Game.SelfId)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|
|
} |