LeviLamina
Loading...
Searching...
No Matches
ResourcePackFileDownloader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/ResourcePackFileDownloadError.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Core { class Path; }
11// clang-format on
12
13class ResourcePackFileDownloader : public ::std::enable_shared_from_this<::ResourcePackFileDownloader> {
14public:
15 // ResourcePackFileDownloader inner types declare
16 // clang-format off
17 struct FileChunkBatch;
18 // clang-format on
19
20 // ResourcePackFileDownloader inner types define
22 public:
23 // member variables
24 // NOLINTBEGIN
29 // NOLINTEND
30
31 public:
32 // prevent constructor by default
33 FileChunkBatch& operator=(FileChunkBatch const&);
36 };
37
38 enum class ChunkOpResult : int {
39 DidNothing = 0,
40 ReceivedChunks = 1,
41 WroteAllChunks = 2,
42 WriteFailure = 3,
43 UnzipFailure = 4,
44 };
45
46public:
47 // member variables
48 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // prevent constructor by default
68
69public:
70 // virtual functions
71 // NOLINTBEGIN
72 // vIndex: 0
73 virtual ~ResourcePackFileDownloader() = default;
74 // NOLINTEND
75};
Definition Path.h:16
Definition ResourcePackFileDownloader.h:13
Definition ResourcePackFileDownloader.h:21
Definition Alias.h:14