250501 커밋
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class ArcadeRunningInstanceInitHandler : GameModeInitHandlerBase
|
||||
{
|
||||
public ArcadeRunningInstanceInitHandler(InstanceRoom instanceRoom) : base(instanceRoom, EPlaceType.ArcadeRunning)
|
||||
{
|
||||
}
|
||||
|
||||
public override Result gamedModeInstanceInitValidate()
|
||||
{
|
||||
var result = new Result();
|
||||
|
||||
//kihoon todo : running 추가
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public override Result gamedModeInstanceInit()
|
||||
{
|
||||
var result = new Result();
|
||||
//kihoon todo : running 추가
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
|
||||
public class ArcadeRunningInstanceJoinHandler : GameModeJoinHandlerBase
|
||||
{
|
||||
public ArcadeRunningInstanceJoinHandler(InstanceRoom instanceRoom) : base(instanceRoom, EPlaceType.ArcadeRunning)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override Result gamedModeInstanceJoinValidate(EPlaceType placeType)
|
||||
{
|
||||
var result = new Result();
|
||||
return result;
|
||||
}
|
||||
|
||||
public override Result gamedModeInstanceJoin(Player player)
|
||||
{
|
||||
var result = new Result();
|
||||
string err_msg = string.Empty;
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class ArcadeRunningInstanceJoinSuccessHandler : GameModeJoinSuccessHandlerBase
|
||||
{
|
||||
public ArcadeRunningInstanceJoinSuccessHandler(Player player, InstanceRoom instanceRoom) : base(player, EPlaceType.ArcadeRunning)
|
||||
{
|
||||
}
|
||||
|
||||
public override Result joinSuccessValidate()
|
||||
{
|
||||
var result = new Result();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public override Task<Result> joinSuccessConfirmation()
|
||||
{
|
||||
var result = new Result();
|
||||
|
||||
return Task.FromResult(result);
|
||||
}
|
||||
|
||||
public override Task<Result> joinSuccessNotify()
|
||||
{
|
||||
var result = new Result();
|
||||
|
||||
return Task.FromResult(result);
|
||||
}
|
||||
|
||||
public override void joinSuccessWriteLog()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using GameServer.Contents.GameMode.Manage.PlayManage;
|
||||
using ServerCommon;
|
||||
using ServerCore;
|
||||
|
||||
namespace GameServer.Contents.GameMode.Mode_Running.Manage;
|
||||
|
||||
public class GameModeRun : GameModeBase, IGameModeGenre
|
||||
{
|
||||
public GameModeRun(EntityType type, InstanceRoom instanceRoom) : base(type, instanceRoom)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override Task<Result> onInit()
|
||||
{
|
||||
return base.onInit();
|
||||
}
|
||||
|
||||
public override Task taskUpdate()
|
||||
{
|
||||
Log.getLogger().debug("run race taskUpdate called");
|
||||
|
||||
|
||||
Log.getLogger().debug("run race taskUpdate done");
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public override string toBasicString()
|
||||
{
|
||||
var basic_string = base.toBasicString() + $"GameModeRun....";
|
||||
return basic_string;
|
||||
}
|
||||
|
||||
public override Task initAfterTimerCreate()
|
||||
{
|
||||
m_current_game_mode_state = new RaceStateReady(this);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace GameServer.Contents.GameMode.Mode_Running.Manage;
|
||||
|
||||
public interface IRunningMode
|
||||
{
|
||||
Task<Result> initRunningMode();
|
||||
}
|
||||
Reference in New Issue
Block a user