mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-25 05:58:42 -04:00
23 lines
438 B
C++
23 lines
438 B
C++
#include "mods/service.hpp"
|
|
#include "mods/svc/log.h"
|
|
|
|
DEFINE_MOD();
|
|
IMPORT_SERVICE(LogService, svc_log);
|
|
|
|
extern "C" {
|
|
|
|
MOD_EXPORT ModResult mod_initialize(ModError*) {
|
|
svc_log->info(mod_ctx, "template_mod initialized");
|
|
return MOD_OK;
|
|
}
|
|
|
|
MOD_EXPORT ModResult mod_update(ModError*) {
|
|
return MOD_OK;
|
|
}
|
|
|
|
MOD_EXPORT ModResult mod_shutdown(ModError*) {
|
|
svc_log->info(mod_ctx, "template_mod unloaded");
|
|
return MOD_OK;
|
|
}
|
|
}
|