Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AppPlatformIOProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/ResourceFileSystem.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/platform/Result.h"
9#include "mc/resources/IPackIOProvider.h"
10
11// auto generated forward declare list
12// clang-format off
13class I18n;
14class IFileAccess;
15namespace Core { class FileHandlePool; }
16namespace Core { class Path; }
17namespace Core { class PathView; }
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> getFileAccess(::ResourceFileSystem system) const /*override*/;
25
26 virtual ::std::function<::Bedrock::Result<::std::string>(::Core::PathView const&, ::std::string&&)>
27 getAssetReader() const /*override*/;
28
29 virtual ::Core::Path getOnDiskScratchPath() const /*override*/;
30
31 virtual ::std::unique_ptr<::IPackIOProvider> clone() const /*override*/;
32
33 virtual ::std::shared_ptr<::Core::FileHandlePool> getArchiveHandlePool() const /*override*/;
34
35 virtual ::I18n& getLoc() const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> $getFileAccess(::ResourceFileSystem system) const;
42
43 MCNAPI ::std::function<::Bedrock::Result<::std::string>(::Core::PathView const&, ::std::string&&)>
45
46 MCNAPI ::Core::Path $getOnDiskScratchPath() const;
47
48 MCNAPI ::std::unique_ptr<::IPackIOProvider> $clone() const;
49
50 MCNAPI ::std::shared_ptr<::Core::FileHandlePool> $getArchiveHandlePool() const;
51
52 MCNAPI ::I18n& $getLoc() const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition AppPlatformIOProvider.h:20
MCAPI ::Bedrock::NotNullNonOwnerPtr<::IFileAccess > $getFileAccess(::ResourceFileSystem system) const
MCAPI::Core::Path $getOnDiskScratchPath() const
MCAPI ::std::function<::Bedrock::Result<::std::string >(::Core::PathView const &, ::std::string &&)> $getAssetReader() const
MCAPI ::std::unique_ptr<::IPackIOProvider > $clone() const
MCAPI::I18n & $getLoc() const
static MCAPI void ** $vftable()
MCAPI ::std::shared_ptr<::Core::FileHandlePool > $getArchiveHandlePool() const
Definition FileHandlePool.h:14
Definition PathView.h:19
Definition Path.h:10
Definition I18n.h:19
Definition IFileAccess.h:15
Definition IPackIOProvider.h:19