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 Failure = 3,
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
60 // NOLINTEND
61
62public:
63 // prevent constructor by default
67
68public:
69 // virtual functions
70 // NOLINTBEGIN
71 // vIndex: 0
72 virtual ~ResourcePackFileDownloader() = default;
73 // NOLINTEND
74};
Definition Path.h:16
Definition ResourcePackFileDownloader.h:13
Definition ResourcePackFileDownloader.h:21
Definition Alias.h:14