Some checks failed
Deploy Promiscuity Auth API / deploy (push) Successful in 1m59s
Deploy Promiscuity Character API / deploy (push) Successful in 1m16s
Deploy Promiscuity Inventory API / deploy (push) Has been cancelled
Deploy Promiscuity Locations API / deploy (push) Has been cancelled
Deploy Promiscuity Mail API / deploy (push) Has been cancelled
Deploy Promiscuity World API / deploy (push) Has been cancelled
Deploy Promiscuity Crafting API / deploy (push) Has been cancelled
k8s smoke test / test (push) Has been cancelled
16 lines
320 B
GDScript
16 lines
320 B
GDScript
extends Node
|
|
|
|
var is_logged_in: bool = false
|
|
var access_token: String = ""
|
|
var username: String = ""
|
|
|
|
func set_session(new_username: String, token: String) -> void:
|
|
is_logged_in = true
|
|
username = new_username
|
|
access_token = token
|
|
|
|
func clear_session() -> void:
|
|
is_logged_in = false
|
|
username = ""
|
|
access_token = ""
|