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