Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard/VoteTask.cs
gamer147 824309ec44 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.
2026-06-05 20:30:59 -04:00

25 lines
447 B
C#

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;
}
}