FluxxField-ClassesManager icon

ClassesManager

Allows developers to implement their own classes or add cards to existing classes

Last updated 3 years ago
Total downloads 89181
Total rating 0 
Categories Utilities
Dependency string FluxxField-ClassesManager-1.4.1
Dependants 19 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_ROUNDS-5.4.1100 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1100
Pykess-ModdingUtils-0.1.8 icon
Pykess-ModdingUtils

Utilities aimed at making modding easier and more accessible

Preferred version: 0.1.8
Pykess-CardChoiceSpawnUniqueCardPatch-0.1.5 icon
Pykess-CardChoiceSpawnUniqueCardPatch

Patches erroneous logic in the base game CardChoice method SpawnUniqueCard

Preferred version: 0.1.5
willis81808-UnboundLib-2.7.3 icon
willis81808-UnboundLib

This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.

Preferred version: 2.7.3
willis81808-MMHook-1.0.0 icon
willis81808-MMHook

MonoMod Runtime Hooks generated for ROUNDS

Preferred version: 1.0.0

README

ClassesManager

This simple mod is used to centralize the categories used for classes. This allows modders to use existing categories and add their own.

Settings

Force Classes First Round

Is used to force classes only cards first round

Allow Multi Classes

Is used to allow for more than one class card per game

Public Properties

DefaultCardCategory

Type: CardCategory

Used to mark cards not apart of classes as default cards

ClassCategory

Type: CardCategory

Used to mark cards as class cards. NOTE: don't mark class progression cards with this category (Ex: Marksman, Light Gunner, etc..)

ClassProgressionCategories

Type: Dictionary<string, CardCategory>

This is where all of the progression categories are stored.

Public Methods

AddClassProgressionCategories

Parameters: List<string> categoryNames

Used to add progression categories to ClassProgressionCategories

RemoveDefaultCardCategoryFromPlayer

Parameters: CharacterStatModifiers characterstats

Removes the default card category from the provided players blacklisted categories

RemoveProgressionCategoriesFromPlayer

Parameters: CharacterStatModifiers characterstats, List<string> categoryNames

Removes the passed in category names from the provided players blacklisted categories

AddClassCategoryToPlayer

Parameters: CharacterStatModifiers characterstats

Removes the class category ONLY IF the setting for allowing multiple classes is disabled

OnClassCardSelect

Parameters: CharacterStatModifiers characterStats, List<string> progressionCategoryNames

Calls RemoveDefaultCardCategoryFromPlayer, AddClassCategoryToPlayer, and RemoveProgressionCategoriesFromPlayer