a lot of social sdk progress

This commit is contained in:
2025-03-23 22:36:54 +01:00
parent 80bcfbd98d
commit e9a48bba97
29 changed files with 370 additions and 255 deletions

View File

@@ -0,0 +1,33 @@
#ifndef EDITOR_PRESENCE_H
#define EDITOR_PRESENCE_H
#include "discord_social_sdk.h"
using namespace godot;
class EditorPresence : public DiscordSocialSDK
{
GDCLASS(EditorPresence, DiscordSocialSDK);
static EditorPresence *singleton;
protected:
static void _bind_methods();
public:
static EditorPresence *
get_singleton();
godot::Engine *engine = godot::Engine::get_singleton();
godot::ProjectSettings *project_settings = godot::ProjectSettings::get_singleton();
godot::Time *time = godot::Time::get_singleton();
String state_string;
EditorPresence();
~EditorPresence();
void _ready() override;
void _process(double delta) override;
};
#endif