Hello,
I have my player's executing a cloudscript function every time they try to equip something, to allow for item validation. This all occurs within their inventory screen. I'm wanting to have the cloudscript side to store relevant data that changes, as it changes. To keep it and cache it, then save it off until the player exits their inventory screen, to prevent DataUpdateRateExceeded errors.
What is a best practice in TypeScript to maintain persistent cached data for a player to keep track of these changes? Ideally it would be nice to have a cached dictionary that maps from currentPlayerId -> corresponding data. Where after the player exits their inventory this data gets saved off and then cleared from this dictionary.
Thanks for the advice.