Closed TptMike closed 2 years ago
During refactoring we've cut down on the amount of methods needed for retrieving a player record. New generics have been created getEmiPlayer()
that are static in scope. Discord IDs are now being stored within the model as well. More refactoring is being done to EMIPlayer
for cleaner code.
Causal effects of the refactor is leading to a high amount of further refactoring in the rest of the project to move away from PlayerUtils.getPlayerRow()
to EMIPlayer.getEmiPlayer()
. Once this is all completed, this will be ready for the PR.
Last task completed and PR submitted. Time to pray
All PlayerUtils static methods are related to the EMIPlayer model class (PlayerUtils being legacy and EMIPlayer being implemented in later releases). Collapse the utils class into the model for future use and reference. This should be blocking future porting work as it will require refactoring code to use the new class for the static methods.
Possible headers: EMIPlayer constructors, Getters/Setters, Static Utilities, Internal Methods