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.
33 lines
689 B
C#
33 lines
689 B
C#
namespace Wizard;
|
|
|
|
public class EmptyDeckInfoTask : BaseTask
|
|
{
|
|
public class EmptyDeckInfoTaskParam : BaseParam
|
|
{
|
|
public int deck_format;
|
|
}
|
|
|
|
public EmptyDeckInfoTask()
|
|
{
|
|
base.type = ApiType.Type.EmptyDeckInfo;
|
|
}
|
|
|
|
public void SetParameter(Format f)
|
|
{
|
|
EmptyDeckInfoTaskParam emptyDeckInfoTaskParam = new EmptyDeckInfoTaskParam();
|
|
emptyDeckInfoTaskParam.deck_format = Data.FormatConvertApi(f);
|
|
base.Params = emptyDeckInfoTaskParam;
|
|
}
|
|
|
|
protected override int Parse()
|
|
{
|
|
int num = base.Parse();
|
|
if (num != 1)
|
|
{
|
|
return num;
|
|
}
|
|
Data.EmptyDeckInfo.EmptyDeckID = base.ResponseData["data"]["empty_deck_num"].ToInt();
|
|
return num;
|
|
}
|
|
}
|