WittleWolfie / WW-Blueprint-Core

A library to simplify modifying Pathfinder: Wrath of the Righteous.
MIT License
15 stars 5 forks source link

ProgressionConfigurator: Improve AddToClasses with better methods. #51

Closed pheonix99 closed 2 years ago

pheonix99 commented 2 years ago

AddToClasses is a PITA to use - there's no reason for it to require a non-params array of BlueprintProgression.ClassWithLevel or to not have an alternate signature that just takes BlueprintCharacterClassReferences.

Please improve the available input with less boilerplates.

In general any method that takes a single array input should be params-enabled.

pheonix99 commented 2 years ago

Nevermind got it mixed up with SetClasses somehow my bad.

WittleWolfie commented 2 years ago

Both should currently take params. This could have an override which takes anonymous tuples if that helps:

params (Blueprint<BlueprintCharacterClassReference> class, int level)[]