43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using System.Collections.Concurrent;
|
|
using GameServer.Contents.GameMode.Action;
|
|
using GameServer.Contents.GameMode.InteractionObject;
|
|
using GameServer.Contents.GameMode.Manage.PlayManage;
|
|
using MetaAssets;
|
|
using ServerBase;
|
|
using ServerCommon;
|
|
|
|
namespace GameServer;
|
|
|
|
public class RaceGameObjectSavePointInteractAction : GameGameObjectAction
|
|
{
|
|
protected ConcurrentDictionary<string /*anchor_guid*/, GameObject> m_game_objects = new(); //kihoon todo : 이거 위로 올릴지 말지, 하니면 GameModeBase에서 들고 있을지... 고민해볼것..
|
|
public RaceGameObjectSavePointInteractAction (EntityBase owner)
|
|
: base(owner, EGameObjectType.Save_Point)
|
|
{
|
|
}
|
|
|
|
public override async Task<Result> onInit()
|
|
{
|
|
await Task.CompletedTask;
|
|
var result = new Result();
|
|
return result;
|
|
}
|
|
|
|
public override void onClear()
|
|
{
|
|
return;
|
|
}
|
|
|
|
public override async Task<Result> interact(string anchorGuid, DateTime interactionTime)
|
|
{
|
|
//여기에 interact 로직 추가해야 된다...
|
|
await Task.CompletedTask;
|
|
var result = new Result();
|
|
return result;
|
|
}
|
|
|
|
public override string toBasicString()
|
|
{
|
|
return $"class name : {nameof(RaceGameObjectSavePointInteractAction)}...." + base.toBasicString();
|
|
}
|
|
} |