v2.9.0: MBMNET Shop (eigene App, auf Wunsch installierbar)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d264cd93cd
commit
ca77952a9d
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include <3ds/types.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
// Der MBMNET Shop ist eine eigene App (shop/). Die MBMNET-App installiert ihn nur, wenn man das will.
|
||||
#define SHOP_TITLE_ID 0x000400000FB4E100ULL
|
||||
|
||||
typedef enum { SHOPJOB_IDLE, SHOPJOB_RUNNING, SHOPJOB_DONE, SHOPJOB_FAILED } ShopJob;
|
||||
|
||||
// Installierte Version (Titelversion) oder -1, wenn der Shop nicht installiert ist
|
||||
int shopctl_version(void);
|
||||
// Lädt den Shop vom MBMNET-Server und installiert ihn (im Hintergrund, auch zum Aktualisieren)
|
||||
void shopctl_install(const char *server);
|
||||
bool shopctl_remove(char *msg, size_t len);
|
||||
// Startet den Shop (die MBMNET-App beendet sich danach). false = ging nicht, Grund in msg.
|
||||
bool shopctl_launch(char *msg, size_t len);
|
||||
ShopJob shopctl_job(void);
|
||||
const char *shopctl_message(void);
|
||||
void shopctl_acknowledge(void);
|
||||
void shopctl_exit(void);
|
||||
Reference in New Issue
Block a user