İlk commit: Stepstead Godot istemci (4.6 Mobile)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
jts 2026-07-11 11:31:35 +03:00
commit 6a1706051d
346 changed files with 14415 additions and 0 deletions

View file

@ -0,0 +1,35 @@
// Stepstead — iOS Pedometer plugin (CMPedometer)
// Godot 4 iOS plugin. Singleton adı: "Pedometer"
//
// GDScript sözleşmesi (autoload/pedometer.gd ile eşleşir):
// bool is_available()
// void start()
// void stop()
// int get_step_count() -> oturum başından beri kümülatif adım
#ifndef STEPSTEAD_PEDOMETER_H
#define STEPSTEAD_PEDOMETER_H
#include "core/object/class_db.h"
#include "core/object/object.h"
class Pedometer : public Object {
GDCLASS(Pedometer, Object);
static Pedometer *instance;
protected:
static void _bind_methods();
public:
bool is_available();
void start();
void stop();
int get_step_count();
static Pedometer *get_singleton();
Pedometer();
~Pedometer();
};
#endif // STEPSTEAD_PEDOMETER_H