feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
This commit is contained in:
37
SVSim.BattleEngine/Engine/RegisterExtraTurn.cs
Normal file
37
SVSim.BattleEngine/Engine/RegisterExtraTurn.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class RegisterExtraTurn : RegisterActionBase
|
||||
{
|
||||
private int _extraTurnNum;
|
||||
|
||||
public RegisterExtraTurn(int turnNum, bool isSelf)
|
||||
{
|
||||
_extraTurnNum = turnNum;
|
||||
IsSelf = isSelf;
|
||||
}
|
||||
|
||||
public override bool IsUseLotCard(RegisterLotCardBase lot)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public override Dictionary<string, object> MakeSendData()
|
||||
{
|
||||
return new Dictionary<string, object>
|
||||
{
|
||||
{
|
||||
RegisterTool.OrderListParameter.count.ToString(),
|
||||
_extraTurnNum
|
||||
},
|
||||
{
|
||||
NetworkBattleDefine.NetworkParameter.isSelf.ToString(),
|
||||
IsSelf ? 1 : 0
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public override string GetUriMsg()
|
||||
{
|
||||
return RegisterTool.OrderListParameter.exTurn.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user