Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ServerContentKeyProviderImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/resources/IContentAccessibilityProvider.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContentIdentity;
11// clang-format on
12
13namespace ServerContentKeyProvider {
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ::std::string getContentKey(::ContentIdentity const& contentIdentity) const /*override*/;
20
21 virtual bool canAccess(::ContentIdentity const&) const /*override*/;
22
23 virtual void setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string> const&) /*override*/;
24
25 virtual void clearTempContentKeys() /*override*/;
26 // NOLINTEND
27
28public:
29 // virtual function thunks
30 // NOLINTBEGIN
31 MCNAPI ::std::string $getContentKey(::ContentIdentity const& contentIdentity) const;
32
33 MCNAPI bool $canAccess(::ContentIdentity const&) const;
34
35 MCNAPI void $setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string> const&);
36
37 MCNAPI void $clearTempContentKeys();
38 // NOLINTEND
39
40public:
41 // vftables
42 // NOLINTBEGIN
43 MCNAPI static void** $vftable();
44 // NOLINTEND
45};
46
47} // namespace ServerContentKeyProvider
Definition ContentIdentity.h:8
Definition IContentAccessibilityProvider.h:13
Definition ServerContentKeyProviderImpl.h:15
MCAPI void $setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string > const &)
MCAPI::std::string $getContentKey(::ContentIdentity const &contentIdentity) const
MCAPI bool $canAccess(::ContentIdentity const &) const