BG3-Community-Library-Team / BG3-Compatibility-Framework

An API-based Driven Compatibility Framework for Baldur's Gate 3 Mods
MIT License
42 stars 13 forks source link

Subclass Handler should utilize CacheOrRetrieve #54

Closed NellsRelo closed 10 months ago

NellsRelo commented 11 months ago

Currently, the Subclass handler caches progressions separately from how the rest of the Framework does. We could simplify that section of the code by using the Utils.CacheOrRetrieveProgression function (or Utils.CacheOrRetrieve(guid, type) introduced in PR #52 , and use up less memory.

NellsRelo commented 10 months ago

This was one of the improvements that closed out 2.4.x