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:
36
SVSim.BattleEngine/Engine/RegisterPlayCountChange.cs
Normal file
36
SVSim.BattleEngine/Engine/RegisterPlayCountChange.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class RegisterPlayCountChange : RegisterActionBase
|
||||
{
|
||||
public enum PlayCountParameter
|
||||
{
|
||||
count,
|
||||
isSelf
|
||||
}
|
||||
|
||||
public int PlayCount { get; private set; }
|
||||
|
||||
public RegisterPlayCountChange(bool isSelf, int playCount)
|
||||
{
|
||||
IsSelf = isSelf;
|
||||
PlayCount = playCount;
|
||||
base.IndexList = null;
|
||||
}
|
||||
|
||||
public override Dictionary<string, object> MakeSendData()
|
||||
{
|
||||
Dictionary<string, object> dictionary = base.MakeSendData();
|
||||
dictionary.Add(PlayCountParameter.count.ToString(), PlayCount);
|
||||
return dictionary;
|
||||
}
|
||||
|
||||
public override string GetUriMsg()
|
||||
{
|
||||
return RegisterTool.OrderListParameter.playCount.ToString();
|
||||
}
|
||||
|
||||
public override bool IsUseLotCard(RegisterLotCardBase lot)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user