using System.Collections.Generic; namespace Wizard; public class ClassSelectionPageParam { public ClassSelectionPage.eMode Mode { get; private set; } public Format Format { get; private set; } public ConventionInfo ConventionInfo { get; private set; } public List UsedClassIdList { get; private set; } public static ClassSelectionPageParam CreateStorySelect() { return new ClassSelectionPageParam(ClassSelectionPage.eMode.StorySelect, Format.Max, null, new List()); } public static ClassSelectionPageParam CreatePracticeSelect() { return new ClassSelectionPageParam(ClassSelectionPage.eMode.PracticeSelect, Format.Max, null, new List()); } public static ClassSelectionPageParam CreateDeckEdit(Format format, ConventionInfo conventionInfo, List usedClassIdList) { return new ClassSelectionPageParam(ClassSelectionPage.eMode.DeckEdit, format, conventionInfo, usedClassIdList); } private ClassSelectionPageParam(ClassSelectionPage.eMode mode, Format format, ConventionInfo conventionInfo, List usedClassIdList) { Mode = mode; Format = format; ConventionInfo = conventionInfo; UsedClassIdList = usedClassIdList; } }