LeviLamina
Loading...
Searching...
No Matches
AllowListFile.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/FileReadResult.h"
7
8// auto generated forward declare list
9// clang-format off
10class AllowList;
11namespace Core { class Path; }
12// clang-format on
13
14class AllowListFile {
15public:
16 // member variables
17 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 AllowListFile& operator=(AllowListFile const&);
26 AllowListFile(AllowListFile const&);
27 AllowListFile();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32#ifdef LL_PLAT_S
33 MCNAPI explicit AllowListFile(::Core::Path const& filePath);
34
35 MCNAPI ::AllowList& getAllowList() const;
36
37 MCNAPI bool isDisabledBecauseNoOnlineAuth();
38
39 MCNAPI ::FileReadResult reload();
40
41 MCNAPI void setIsDisabledBecauseNoOnlineAuth(bool disabled);
42
43 MCNAPI void syncToDisc();
44
45 MCNAPI ~AllowListFile();
46#endif
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52#ifdef LL_PLAT_S
53 MCNAPI static ::AllowListFile loadFromDefaultLocations();
54#endif
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60#ifdef LL_PLAT_S
61 MCNAPI void* $ctor(::Core::Path const& filePath);
62#endif
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68#ifdef LL_PLAT_S
69 MCNAPI void $dtor();
70#endif
71 // NOLINTEND
72};
Definition AllowList.h:16
Definition Path.h:12
Definition Alias.h:14