LeviLamina
Loading...
Searching...
No Matches
IScriptDedicatedServerUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8// clang-format on
9
11public:
12 // virtual functions
13 // NOLINTBEGIN
14 virtual ~IScriptDedicatedServerUtils() = default;
15
16 virtual void stopServer() = 0;
17
18 virtual bool saveHold() = 0;
19
20 virtual bool saveResume() = 0;
21
22 virtual ::std::optional<::std::vector<::SnapshotFilenameAndLength>> saveQuery() = 0;
23
24 virtual bool addNameToAllowList(::std::string const& name) = 0;
25
26 virtual bool removeNameFromAllowList(::std::string const& name) = 0;
27
28 virtual bool allowListContains(::std::string const& name) = 0;
29
30 virtual bool reloadAllowListFile() = 0;
31
32 virtual void setAllowListEnabled(bool enabled) = 0;
33
34 virtual bool getAllowListEnabled() const = 0;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40
41 // NOLINTEND
42};
Definition IScriptDedicatedServerUtils.h:10
Definition SnapshotFilenameAndLength.h:5