namespace Wizard;

public class ArenaConfigUpdateTask : BaseTask
{
	public class ArenaConfigUpdateTaskParam : BaseParam
	{
		public int use_challenge_two_pick_premium_card;

		public long challenge_two_pick_sleeve_id;
	}

	public ArenaConfigUpdateTask()
	{
		base.type = ApiType.Type.ArenaConfigUpdate;
	}

	public void SetParameter(bool useChallenge2pickPremiumCard, long useChallenge2pickSleeveId)
	{
		ArenaConfigUpdateTaskParam arenaConfigUpdateTaskParam = new ArenaConfigUpdateTaskParam();
		arenaConfigUpdateTaskParam.use_challenge_two_pick_premium_card = (useChallenge2pickPremiumCard ? 1 : 0);
		arenaConfigUpdateTaskParam.challenge_two_pick_sleeve_id = useChallenge2pickSleeveId;
		base.Params = arenaConfigUpdateTaskParam;
	}
}
