mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-20 05:16:24 -04:00
37 lines
841 B
C++
37 lines
841 B
C++
#pragma once
|
|
|
|
#include "mods/svc/host.h"
|
|
#include "mods/svc/log.h"
|
|
#include "mods/svc/config.h"
|
|
#include "mods/svc/hook.h"
|
|
#include "mods/svc/ui.h"
|
|
#include "mods/svc/resource.h"
|
|
#include "mods/svc/save.h"
|
|
#include "mods/svc/stage.h"
|
|
#include "mods/svc/item.h"
|
|
|
|
#include <string>
|
|
|
|
namespace randomizer::session {
|
|
struct ServiceManager {
|
|
ModContext* mod_ctx;
|
|
const HostService* host;
|
|
const LogService* log;
|
|
const HookService* hook;
|
|
const UiService* ui;
|
|
const ResourceService* resource;
|
|
const ConfigService* config;
|
|
const SaveService* save;
|
|
const StageService* stage;
|
|
const ItemService* item;
|
|
};
|
|
|
|
extern ServiceManager svc_mng;
|
|
extern std::string g_pending_seed_hash;
|
|
|
|
ModResult initialize(const ServiceManager& services);
|
|
|
|
void deactivateSeed();
|
|
void setupRandomizerFile();
|
|
void registerStageEdits();
|
|
} |