12 lines
194 B
GDScript
12 lines
194 B
GDScript
extends PacketHandler
|
|
|
|
signal success
|
|
|
|
func handle_packet(_data: PackedByteArray):
|
|
logout()
|
|
success.emit()
|
|
|
|
func logout():
|
|
Global.auth_token = ""
|
|
Global.account_id = ""
|
|
Global.player = null |