MemoryStoreService
Exposes methods to access specific primitives within MemoryStore.
Memory category | Instances |
---|
Member index 3
Description
A top-level singleton class which exposes methods to access specific primitives within the MemoryStoreService. Use it for any data that rapidly changes that other servers can restore, such as global leaderboards, matchmaking queues, and auction houses.
For a more in-depth look, see Memory Stores. For the limits and quotas of the service, see Limits and Quotas.
History 8
- 591 Add GetHashMap
- 483 Change ReturnType of GetSortedMap from Instance to MemoryStoreSortedMap
- 483 Change ReturnType of GetQueue from Instance to MemoryStoreQueue
- 477 Change Parameters of GetQueue from (name: string, invisibilityTimeout: int = 30000) to (name: string, invisibilityTimeout: int = 30)
- 475 Add GetSortedMap
- 475 Change Parameters of GetQueue from (name: string, invisibilityTimeout: int = 30) to (name: string, invisibilityTimeout: int = 30000)
- 474 Add GetQueue
- 474 Add MemoryStoreService
Members 3
GetHashMap
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
MemoryStoreHashMap |
Returns a MemoryStoreHashMap instance for the provided name. The name is global within the game, so any place that uses the same name accesses the same hash map.
Thread safety | Unsafe |
---|
History 1
- 591 Add GetHashMap
GetQueue
Parameters (2) | Default | |
---|---|---|
name | string | |
invisibilityTimeout | int | 30 |
Returns (1) | ||
MemoryStoreQueue |
Returns a MemoryStoreQueue instance for the provided name. The name is global within the game, thus any place that uses the same name accesses the same queue.
Thread safety | Unsafe |
---|
History 4
- 483 Change ReturnType of GetQueue from Instance to MemoryStoreQueue
- 477 Change Parameters of GetQueue from (name: string, invisibilityTimeout: int = 30000) to (name: string, invisibilityTimeout: int = 30)
- 475 Change Parameters of GetQueue from (name: string, invisibilityTimeout: int = 30) to (name: string, invisibilityTimeout: int = 30000)
- 474 Add GetQueue
GetSortedMap
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
MemoryStoreSortedMap |
Returns a MemoryStoreSortedMap instance for the provided name. The name is global within the game, so any place that uses the same name accesses the same sorted map.
Thread safety | Unsafe |
---|
History 2
- 483 Change ReturnType of GetSortedMap from Instance to MemoryStoreSortedMap
- 475 Add GetSortedMap