immersive-home/lib/stores/settings.gd

16 lines
242 B
GDScript3
Raw Normal View History

2024-01-25 17:29:33 +02:00
extends StoreClass
const StoreClass = preload("./store.gd")
var type: String = "HASS_WS"
var url: String = ""
var token: String = ""
func _init():
_save_path = "user://settings.json"
func clear():
type = "HASS_WS"
url = ""
token = ""