added getter and setter
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
extends Node
|
||||
|
||||
func _ready():
|
||||
DiscordSDK.set_app_id(918857075105349632)
|
||||
DiscordSDK.set_details("Made with GDExtension")
|
||||
DiscordSDK.set_state("This is a test from GDScript in Godot 4") #TODO:Change functions to variables if possible
|
||||
DiscordSDK.app_id = 918857075105349632
|
||||
print(DiscordSDK.app_id)
|
||||
DiscordSDK.details = "Made with GDExtension"
|
||||
print(DiscordSDK.details)
|
||||
DiscordSDK.state = "This is a test from GDScript in Godot 4" #TODO:Change functions to variables if possible
|
||||
print(DiscordSDK.state)
|
||||
DiscordSDK.refresh()
|
||||
|
Reference in New Issue
Block a user