Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ResourcePackDataInfoPacketPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackType.h"
7
8struct ResourcePackDataInfoPacketPayload {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 32, ::std::string> mResourceName;
13 ::ll::TypedStorage<4, 4, uint> mChunkSize;
14 ::ll::TypedStorage<4, 4, int> mNbChunks;
15 ::ll::TypedStorage<8, 8, uint64> mFileSize;
16 ::ll::TypedStorage<8, 32, ::std::string> mFileHash;
17 ::ll::TypedStorage<1, 1, ::PackType> mPackType;
18 ::ll::TypedStorage<1, 1, bool> mIsPremium;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 ResourcePackDataInfoPacketPayload();
24
25public:
26 // member functions
27 // NOLINTBEGIN
29 ::std::string const& name,
30 uint chunkSize,
31 int nbChunk,
32 uint64 fileSize,
33 ::std::string const& fileHash,
34 bool isPremium,
35 ::PackType packType
36 );
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42 MCNAPI void* $ctor(
43 ::std::string const& name,
44 uint chunkSize,
45 int nbChunk,
46 uint64 fileSize,
47 ::std::string const& fileHash,
48 bool isPremium,
49 ::PackType packType
50 );
51 // NOLINTEND
52};
MCAPI ResourcePackDataInfoPacketPayload(::std::string const &name, uint chunkSize, int nbChunk, uint64 fileSize, ::std::string const &fileHash, bool isPremium, ::PackType packType)
MCAPI void * $ctor(::std::string const &name, uint chunkSize, int nbChunk, uint64 fileSize, ::std::string const &fileHash, bool isPremium, ::PackType packType)