Exemplo n.º 1
0
 public static SaveableSelectedEnumPerEnum CreateBlank(EnumSetting enumSetting, EnumSetting enumSettings)
 {
     EnumValue[] selectedEnumSettings = new EnumValue[enumSetting.Length];
     for (int i = 0; i < selectedEnumSettings.Length; i++)
     {
         selectedEnumSettings[i] = EnumValue.CreateBlank(enumSettings);
     }
     return(Create("NAME", enumSetting, selectedEnumSettings));
 }
Exemplo n.º 2
0
    public static Spell CreateBlank(EnumSetting spellContainers, EnumSetting allowances, EnumSetting rarities, EnumSetting characterClasses,
                                    SaveableSelectedEnumPerEnum casterTypesPerCharacterClass, EnumSetting books)
    {
        JsonableSelectedEnumPerEnum containerAllowances = JsonableSelectedEnumPerEnum.CreateBlank(spellContainers, allowances);
        JsonableSelectedEnumPerEnum containerRarities   = JsonableSelectedEnumPerEnum.CreateBlank(spellContainers, rarities);
        IntValuedEnum creatorLevels = IntValuedEnum.CreateBlank(characterClasses);
        EnumValue     book          = EnumValue.CreateBlank(books);

        return(Create("NAME", containerAllowances, containerRarities, creatorLevels, book, 239, 0));
    }
Exemplo n.º 3
0
 public static TItem CreateBlank(EnumSetting rarities, EnumSetting books)
 {
     return(Create("NAME", 0, EnumValue.CreateBlank(rarities), EnumValue.CreateBlank(books), 0));
 }
Exemplo n.º 4
0
 public static TQuality CreateBlank(EnumSetting rarities, EnumSetting books, EnumSetting qualityTypes)
 {
     return(Create("NAME", 0, EnumValue.CreateBlank(rarities), EnumValue.CreateBlank(books), 999,
                   EnumValue.CreateBlank(qualityTypes), 0));
 }