Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PackAssetSet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/brstd/function_ref.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace Core { class Path; }
12namespace Core { class PathView; }
13// clang-format on
14
15class PackAssetSet {
16public:
17 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 PackAssetSet& operator=(PackAssetSet const&);
25 PackAssetSet(PackAssetSet const&);
26 PackAssetSet();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~PackAssetSet() = default;
32
33 virtual void addAsset(::Core::Path path, ::EncryptedAssetInfo info) = 0;
34
35 virtual void clear() = 0;
36
37 virtual bool hasAsset(::Core::PathView const& path, bool caseSensitive) const = 0;
38
39 virtual ::EncryptedAssetInfo const*
40 getEncryptedAssetInfo(::Core::PathView const& path, bool caseSensitive) const = 0;
41
42 virtual void forEachAsset(::brstd::function_ref<void(::Core::Path const&)> callback) const = 0;
43
44 virtual bool isEmpty() const = 0;
45 // NOLINTEND
46};
Definition PathView.h:19
Definition Path.h:10
Definition function_ref.h:60
Definition EncryptedAssetInfo.h:5
Definition Alias.h:14