LeviLamina
Loading...
Searching...
No Matches
IContentKeyProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContentIdentity;
11// clang-format on
12
14public:
15 // virtual functions
16 // NOLINTBEGIN
17 // vIndex: 0
18 virtual ~IContentKeyProvider() /*override*/ = default;
19
20 // vIndex: 1
21 virtual ::std::string getContentKey(::ContentIdentity const&) const = 0;
22
23 // vIndex: 2
24 virtual ::std::string getAlternateContentKey(::ContentIdentity const&) const;
25
26 // vIndex: 3
27 virtual bool requireEncryptedReads() const;
28
29 // vIndex: 4
30 virtual void setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string> const&) = 0;
31
32 // vIndex: 5
33 virtual void clearTempContentKeys() = 0;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCNAPI ::std::string $getAlternateContentKey(::ContentIdentity const&) const;
40
41 MCNAPI bool $requireEncryptedReads() const;
42 // NOLINTEND
43};
Definition EnableNonOwnerReferences.h:7
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13
MCAPI::std::string $getAlternateContentKey(::ContentIdentity const &) const
MCAPI bool $requireEncryptedReads() const