LeviLamina
Loading...
Searching...
No Matches
UnzipFileMinizip.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/UnzipFile.h"
7#include "mc/deps/core/file/UnzipResult.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
12class IFileAccess;
13namespace Core { class Path; }
14// clang-format on
15
16namespace Core {
17
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 UnzipFileMinizip& operator=(UnzipFileMinizip const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~UnzipFileMinizip() /*override*/;
38
39 // vIndex: 1
40 virtual ::Core::ZipUtils::UnzipResult locateFile(char const* fileName, int caseSensitivity) /*override*/;
41
42 // vIndex: 2
43 virtual ::Core::ZipUtils::UnzipResult goToFirstFile() /*override*/;
44
45 // vIndex: 3
46 virtual ::Core::ZipUtils::UnzipResult goToNextFile() /*override*/;
47
48 // vIndex: 4
49 virtual ::std::string getCurrentFileName() const /*override*/;
50
51 // vIndex: 5
52 virtual ::Core::ZipUtils::UnzipResult openCurrentFileForReading() /*override*/;
53
54 // vIndex: 6
55 virtual ::Core::ZipUtils::UnzipResult closeCurrentFile() /*override*/;
56
57 // vIndex: 7
58 virtual void readCurrentFileContentsIntoMemory(::std::string& str) /*override*/;
59
60 // vIndex: 8
61 virtual void
62 readCurrentFileContents(uint64 bufferSize, ::std::function<void(int, void const*)> onReadCallback) /*override*/;
63
64 // vIndex: 9
65 virtual uint64 getTotalFilesInZip() /*override*/;
66
67 // vIndex: 10
68 virtual uint64 getCurrentFileUncompressedSize() /*override*/;
69
70 // vIndex: 11
71 virtual bool _isGood() const /*override*/;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCNAPI UnzipFileMinizip(::Bedrock::NotNullNonOwnerPtr<::IFileAccess> fileAccess, ::Core::Path const& zipPath);
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCNAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::IFileAccess> fileAccess, ::Core::Path const& zipPath);
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCNAPI void $dtor();
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCNAPI ::Core::ZipUtils::UnzipResult $locateFile(char const* fileName, int caseSensitivity);
96
97 MCNAPI ::Core::ZipUtils::UnzipResult $goToFirstFile();
98
99 MCNAPI ::Core::ZipUtils::UnzipResult $goToNextFile();
100
101 MCNAPI ::std::string $getCurrentFileName() const;
102
103 MCNAPI ::Core::ZipUtils::UnzipResult $openCurrentFileForReading();
104
105 MCNAPI ::Core::ZipUtils::UnzipResult $closeCurrentFile();
106
107 MCNAPI void $readCurrentFileContentsIntoMemory(::std::string& str);
108
109 MCNAPI void $readCurrentFileContents(uint64 bufferSize, ::std::function<void(int, void const*)> onReadCallback);
110
111 MCNAPI uint64 $getTotalFilesInZip();
112
114
115 MCNAPI bool $_isGood() const;
116 // NOLINTEND
117
118public:
119 // vftables
120 // NOLINTBEGIN
121 MCNAPI static void** $vftable();
122 // NOLINTEND
123};
124
125} // namespace Core
Definition Path.h:17
Definition UnzipFileMinizip.h:18
MCAPI uint64 $getTotalFilesInZip()
MCAPI::Core::ZipUtils::UnzipResult $locateFile(char const *fileName, int caseSensitivity)
MCAPI::std::string $getCurrentFileName() const
static MCAPI void ** $vftable()
MCAPI bool $_isGood() const
MCAPI::Core::ZipUtils::UnzipResult $goToFirstFile()
MCAPI::Core::ZipUtils::UnzipResult $goToNextFile()
MCAPI void $readCurrentFileContentsIntoMemory(::std::string &str)
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::IFileAccess > fileAccess, ::Core::Path const &zipPath)
MCAPI void $readCurrentFileContents(uint64 bufferSize, ::std::function< void(int, void const *)> onReadCallback)
MCAPI UnzipFileMinizip(::Bedrock::NotNullNonOwnerPtr<::IFileAccess > fileAccess, ::Core::Path const &zipPath)
MCAPI::Core::ZipUtils::UnzipResult $closeCurrentFile()
MCAPI uint64 $getCurrentFileUncompressedSize()
MCAPI::Core::ZipUtils::UnzipResult $openCurrentFileForReading()
Definition UnzipFile.h:18
Definition IFileAccess.h:15
Definition Path.h:16
Definition Alias.h:14