Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PhotoTransferPacketPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/level/storage/PhotoType.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace Core { class Path; }
13// clang-format on
14
15struct PhotoTransferPacketPayload {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 32, ::std::string> mPhotoName;
20 ::ll::TypedStorage<8, 32, ::std::string> mPhotoData;
21 ::ll::TypedStorage<8, 32, ::std::string> mBookId;
22 ::ll::TypedStorage<1, 1, ::PhotoType> mType;
23 ::ll::TypedStorage<1, 1, ::PhotoType> mSourceType;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mOwnerId;
25 ::ll::TypedStorage<8, 32, ::std::string> mNewPhotoName;
26 // NOLINTEND
27
28#ifdef LL_PLAT_S
29#else // LL_PLAT_C
30public:
31 // prevent constructor by default
32 PhotoTransferPacketPayload();
33
34#endif
35public:
36 // member functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCNAPI explicit PhotoTransferPacketPayload(::std::string const& photoName);
40#endif
41
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48#ifdef LL_PLAT_C
49 MCNAPI static bool fromDisk(::Core::Path path, ::PhotoTransferPacket& result);
50#endif
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCNAPI void* $ctor(::std::string const& photoName);
58#endif
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66};
Definition Path.h:10
Definition PhotoTransferPacket.h:19