2024-01-29 22:16:06 +00:00
|
|
|
extends PacketHandler
|
|
|
|
|
|
|
|
signal success
|
|
|
|
|
|
|
|
func handle_packet(_data: PackedByteArray):
|
|
|
|
logout()
|
2024-02-28 12:23:17 +00:00
|
|
|
emit.call_deferred()
|
|
|
|
|
|
|
|
func emit():
|
2024-01-29 22:16:06 +00:00
|
|
|
success.emit()
|
|
|
|
|
|
|
|
func logout():
|
2024-02-16 19:04:50 +00:00
|
|
|
Global.account.id = ""
|
|
|
|
Global.account.auth_token = ""
|
2024-01-29 22:16:06 +00:00
|
|
|
Global.player = null
|