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