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.
25 lines
447 B
C#
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;
|
|
}
|
|
}
|