added firebase and rudimentary leaderboard support
This commit is contained in:
30
ios_plugins/godot_svc/src/godot_svc.h
Normal file
30
ios_plugins/godot_svc/src/godot_svc.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*************************************************************************/
|
||||
/* godot_svc.h */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOTSVC_H
|
||||
#define GODOTSVC_H
|
||||
|
||||
#include "core/version.h"
|
||||
#if VERSION_MAJOR == 4
|
||||
#include "core/object/class_db.h"
|
||||
#else
|
||||
#include "core/object.h"
|
||||
#endif
|
||||
|
||||
class GodotSvc : public Object {
|
||||
|
||||
GDCLASS(GodotSvc, Object);
|
||||
|
||||
static GodotSvc *instance;
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
static GodotSvc *get_singleton();
|
||||
void popup(String url);
|
||||
void close();
|
||||
GodotSvc();
|
||||
~GodotSvc();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user