-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathmain.hpp
24 lines (17 loc) · 882 Bytes
/
main.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
// Include the modloader header, which allows us to tell the modloader which mod
// this is, and the version etc.
#include "scotland2/shared/modloader.h"
// beatsaber-hook is a modding framework that lets us call functions and fetch
// field values from in the game It also allows creating objects, configuration,
// and importantly, hooking methods to modify their values
#include "beatsaber-hook/shared/config/config-utils.hpp"
#include "beatsaber-hook/shared/utils/hooking.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-functions.hpp"
#include "beatsaber-hook/shared/utils/logging.hpp"
#include "paper/shared/logger.hpp"
#include "_config.hpp"
// Define these functions here so that we can easily read configuration and
// log information from other files
Configuration &getConfig();
inline constexpr auto PaperLogger = Paper::ConstLoggerContext("#{id}");