initialize/fix item caches to enable ingame customization UI
Summary
The ingame customization menu is currently not working since the item caches fail to retrieve loadout information. Hijacking the caches and inserting our own data should enable the customization menu and possibly a few other features.
Use Case
Enable customization menu.
Proposal
All item caches derive from UFoxItemCacheBase
and contain a RefreshCache
function which calls a native function to retrieve player data. A VMT hook for such classes on the RefreshCache
function should allow us to inject our own data.
Requirements
-
VMT hook on RefreshCache
for every subclass ofUFoxItemCacheBase
-
parse cache cache data to string and string to cache data