Initial Commit
Initial commit of Code Base.
This commit is contained in:
parent
293b1213e1
commit
c11a4ebbc2
653 changed files with 36893 additions and 1 deletions
14
addons/twitcher/editor/inspector/twitch_token_info.gd
Normal file
14
addons/twitcher/editor/inspector/twitch_token_info.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@tool
|
||||
extends "res://addons/twitcher/lib/oOuch/oauth_token_info.gd"
|
||||
|
||||
const TWITCH_TOKEN_REVOKE_POPUP = preload("res://addons/twitcher/editor/inspector/twitch_token_revoke_popup.tscn")
|
||||
const TwitchTokenRevokePopup = preload("res://addons/twitcher/editor/inspector/twitch_token_revoke_popup.gd")
|
||||
|
||||
|
||||
func _on_revoke_pressed() -> void:
|
||||
var popup: TwitchTokenRevokePopup = TWITCH_TOKEN_REVOKE_POPUP.instantiate()
|
||||
popup.token = token
|
||||
add_child(popup)
|
||||
popup.popup_centered()
|
||||
var success = await popup.revoked
|
||||
if success: _reset_token()
|
||||
Loading…
Add table
Add a link
Reference in a new issue