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:
24
SVSim.BattleEngine/Engine/Wizard/VoteTask.cs
Normal file
24
SVSim.BattleEngine/Engine/Wizard/VoteTask.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class VoteTask : BaseTask
|
||||
{
|
||||
public class VoteTaskParam : BaseParam
|
||||
{
|
||||
public int vote_id;
|
||||
|
||||
public int target_id;
|
||||
}
|
||||
|
||||
public VoteTask()
|
||||
{
|
||||
base.type = ApiType.Type.Vote;
|
||||
}
|
||||
|
||||
public void SetParameter(int voteId, int targetId)
|
||||
{
|
||||
VoteTaskParam voteTaskParam = new VoteTaskParam();
|
||||
voteTaskParam.vote_id = voteId;
|
||||
voteTaskParam.target_id = targetId;
|
||||
base.Params = voteTaskParam;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user