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*/ = default;
38
39 // vIndex: 1
40 virtual bool isGood() const /*override*/;
41
42 // vIndex: 2
43 virtual ::Core::ZipUtils::UnzipResult locateFile(char const* fileName, int caseSensitivity) /*override*/;
44
45 // vIndex: 3
46 virtual ::Core::ZipUtils::UnzipResult goToFirstFile() /*override*/;
47
48 // vIndex: 4
49 virtual ::Core::ZipUtils::UnzipResult goToNextFile() /*override*/;
50
51 // vIndex: 5
52 virtual ::std::string getCurrentFileName() const /*override*/;
53
54 // vIndex: 6
55 virtual ::Core::ZipUtils::UnzipResult openCurrentFileForReading() /*override*/;
56
57 // vIndex: 7
58 virtual ::Core::ZipUtils::UnzipResult closeCurrentFile() /*override*/;
59
60 // vIndex: 8
61 virtual void readCurrentFileContentsIntoMemory(::std::string& str) /*override*/;
62
63 // vIndex: 9
64 virtual void
65 readCurrentFileContents(uint64 bufferSize, ::std::function<void(int, void const*)> onReadCallback) /*override*/;
66
67 // vIndex: 10
68 virtual uint64 getTotalFilesInZip() /*override*/;
69
70 // vIndex: 11
71 virtual uint64 getCurrentFileUncompressedSize() /*override*/;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCAPI UnzipFileMinizip(::Bedrock::NotNullNonOwnerPtr<::IFileAccess> fileAccess, ::Core::Path const& zipPath);
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::IFileAccess> fileAccess, ::Core::Path const& zipPath);
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCAPI bool $isGood() const;
96
97 MCAPI ::Core::ZipUtils::UnzipResult $locateFile(char const* fileName, int caseSensitivity);
98
99 MCAPI ::Core::ZipUtils::UnzipResult $goToFirstFile();
100
101 MCAPI ::Core::ZipUtils::UnzipResult $goToNextFile();
102
103 MCAPI ::std::string $getCurrentFileName() const;
104
105 MCAPI ::Core::ZipUtils::UnzipResult $openCurrentFileForReading();
106
107 MCAPI ::Core::ZipUtils::UnzipResult $closeCurrentFile();
108
109 MCAPI void $readCurrentFileContentsIntoMemory(::std::string& str);
110
111 MCAPI void $readCurrentFileContents(uint64 bufferSize, ::std::function<void(int, void const*)> onReadCallback);
112
113 MCAPI uint64 $getTotalFilesInZip();
114
115 MCAPI uint64 $getCurrentFileUncompressedSize();
116 // NOLINTEND
117
118public:
119 // vftables
120 // NOLINTBEGIN
121 MCAPI static void** $vftable();
122 // NOLINTEND
123};
124
125} // namespace Core
Definition Path.h:15
Definition UnzipFileMinizip.h:18
Definition UnzipFile.h:18
Definition IFileAccess.h:15
Definition Path.h:16
Definition Alias.h:14