#Max resource count meaning

1 messages · Page 1 of 1 (latest)

pearl quartz
#

"This sample updates the count of some resource in a shared inventory. The use of MemoryStoreHashMap:UpdateAsync() ensures that all player contributions make their way into this shared inventory, even if the contributions occur simultaneously. The function enforces a max resource count of 500." this is from the memory store documentation https://create.roblox.com/docs/reference/engine/classes/MemoryStoreHashMap#UpdateAsync, what does max resource count mean

Provides access to a hash map within Class.MemoryStoreService.

thorn kindle
#

it's totally arbitrary and specific to the example they provided

#

it's just giving an example of using memorystorehashmap to track global contributions by players towards a made-up "resource". it's simply explaining a section of the code which hard caps "resource" to a maximum of 500

pearl quartz
thorn kindle
#

this page is useful