LocalStorageService
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 6
Description
History 16
- 573 Change ReturnType of WhenLoaded from void to null
- 573 Change ReturnType of SetItem from void to null
- 573 Change ReturnType of Flush from void to null
- 462 Change ThreadSafety of StoreWasCleared from to Unsafe
- 462 Change ThreadSafety of ItemWasSet from to Unsafe
- 462 Change ThreadSafety of WhenLoaded from to Unsafe
- 462 Change ThreadSafety of SetItem from to Unsafe
- 462 Change ThreadSafety of GetItem from to Unsafe
- 462 Change ThreadSafety of Flush from to Unsafe
- 366 Add StoreWasCleared
- 366 Add ItemWasSet
- 366 Add WhenLoaded
- 366 Add SetItem
- 366 Add GetItem
- 366 Add Flush
- 366 Add LocalStorageService
Members 6
Flush
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
GetItem
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
ItemWasSet
Parameters (2) | |
---|---|
key | string |
value | string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of ItemWasSet from to Unsafe
- 366 Add ItemWasSet
SetItem
Parameters (2) | ||
---|---|---|
key | string | |
value | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
StoreWasCleared
Parameters (0) | ||
---|---|---|
No parameters. |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of StoreWasCleared from to Unsafe
- 366 Add StoreWasCleared
WhenLoaded
Parameters (1) | ||
---|---|---|
callback | Function | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of WhenLoaded from void to null
- 462 Change ThreadSafety of WhenLoaded from to Unsafe
- 366 Add WhenLoaded