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
15class ServerContentKeyProviderImpl : public ::IContentAccessibilityProvider {
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
27 virtual ~ServerContentKeyProviderImpl() /*override*/ = default;
28 // NOLINTEND
29
30public:
31 // virtual function thunks
32 // NOLINTBEGIN
33 MCNAPI ::std::string $getContentKey(::ContentIdentity const& contentIdentity) const;
34
35 MCNAPI bool $canAccess(::ContentIdentity const&) const;
36
37 MCNAPI void $setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string> const&);
38
39 MCNAPI void $clearTempContentKeys();
40 // NOLINTEND
41
42public:
43 // vftables
44 // NOLINTBEGIN
45 MCNAPI static void** $vftable();
46 // NOLINTEND
47};
48
49} // namespace ServerContentKeyProvider
MCAPI void $setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string > const &)
MCAPI::std::string $getContentKey(::ContentIdentity const &contentIdentity) const
MCAPI bool $canAccess(::ContentIdentity const &) const