초기커밋
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using ServerCommon;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
namespace GameServer
|
||||
{
|
||||
internal class MinimapMarkerAction : EntityActionBase
|
||||
{
|
||||
public MinimapMarkerAction(MinimapMarker owner)
|
||||
: base(owner)
|
||||
{ }
|
||||
|
||||
public override async Task<Result> onInit()
|
||||
{
|
||||
await Task.CompletedTask;
|
||||
|
||||
var result = new Result();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public override void onClear()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public void changeMarkerPos(Vector3 markerPos)
|
||||
{
|
||||
var minimap_marker_attribute = getOwner().getEntityAttribute<MinimapMarkerAttribute>();
|
||||
NullReferenceCheckHelper.throwIfNull(minimap_marker_attribute, () => $"minimap_marker_attribute is null !!! - {getOwner().toBasicString()}");
|
||||
|
||||
minimap_marker_attribute.MarkerPos = markerPos;
|
||||
minimap_marker_attribute.modifiedEntityAttribute();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user