Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.
The LocalStorageService class is a service. All its non-inherited members are protected. It inherits from Instance.
Methods
Flush(): null
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
GetItem(key: string): string
| Name | Type |
|---|---|
| key | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
SetItem(key: string, value: string): null
| Name | Type |
|---|---|
| key | string |
| value | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
WhenLoaded(callback: Function): null
| Name | Type |
|---|---|
| callback | Function |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Events
ItemWasSet(key: string, value: string)
| Name | Type |
|---|---|
| key | string |
| value | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
StoreWasCleared()
- Security: RobloxScriptSecurity.
- Thread safety: unsafe