mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 09:13:50 +02:00
add removing config by key
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
// requires binding of SharedVariable
|
||||
|
||||
class SharedRepository {
|
||||
remove(key) {
|
||||
key = transformKey(key);
|
||||
return SharedVariable.Remove(key);
|
||||
}
|
||||
getString(key, defaultValue = null) {
|
||||
key = transformKey(key);
|
||||
var value = SharedVariable.Get(key);
|
||||
|
||||
Reference in New Issue
Block a user