LeviLamina
Loading...
Searching...
No Matches
PackReport.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackIdVersion.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/core/resource/ResourceLocation.h"
9#include "mc/deps/core/sem_ver/SemVersion.h"
10#include "mc/resources/PackErrorType.h"
11
12// auto generated forward declare list
13// clang-format off
14class PackError;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 56, ::ResourceLocation> mLocation;
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::PackError>>> mErrors;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::PackError>>> mWarnings;
24 ::ll::TypedStorage<8, 24, ::SemVersion> mRequiredBaseGameVersion;
25 ::ll::TypedStorage<8, 32, ::std::string> mOriginalName;
26 ::ll::TypedStorage<8, 32, ::std::string> mOriginalVersion;
27 ::ll::TypedStorage<8, 48, ::PackIdVersion> mIdentity;
28 ::ll::TypedStorage<1, 1, ::PackType> mPackType;
29 ::ll::TypedStorage<1, 1, bool> mWasUpgraded;
30 ::ll::TypedStorage<1, 1, bool> mAttemptedUpgrade;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI PackReport();
37
39
40 MCNAPI PackReport(::PackReport const&);
41
42#ifdef LL_PLAT_C
43 MCNAPI void clear();
44#endif
45
46 MCNAPI ::std::vector<::std::shared_ptr<::PackError>> const& getErrors() const;
47
48#ifdef LL_PLAT_S
49 MCNAPI ::ResourceLocation const& getLocation() const;
50#endif
51
52#ifdef LL_PLAT_C
53 MCNAPI int const getNumErrors() const;
54
55 MCNAPI int const getNumWarnings() const;
56#endif
57
58 MCNAPI ::PackType getPackType() const;
59
60#ifdef LL_PLAT_C
61 MCNAPI ::std::vector<::std::shared_ptr<::PackError>> const& getWarnings() const;
62#endif
63
64 MCNAPI bool hasErrors() const;
65
66#ifdef LL_PLAT_C
67 MCNAPI bool hasErrors(::PackErrorType packErrorType);
68
69 MCNAPI bool hasWarnings() const;
70
71 MCNAPI void merge(::PackReport&& other);
72#endif
73
74 MCNAPI ::PackReport& operator=(::PackReport&&);
75
76 MCNAPI ::PackReport& operator=(::PackReport const&);
77
78#ifdef LL_PLAT_C
79 MCNAPI bool wasUpgraded() const;
80#endif
81
82 MCNAPI ~PackReport();
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCNAPI void* $ctor();
89
90 MCNAPI void* $ctor(::PackReport&&);
91
92 MCNAPI void* $ctor(::PackReport const&);
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCNAPI void $dtor();
99 // NOLINTEND
100};
Definition PackError.h:8
MCAPI::PackType getPackType() const
MCAPI PackReport(::PackReport &&)
MCAPI void $dtor()
MCAPI ::std::vector<::std::shared_ptr<::PackError > > const & getErrors() const
MCAPI void * $ctor(::PackReport &&)
MCAPI::PackReport & operator=(::PackReport &&)
MCAPI PackReport(::PackReport const &)
MCAPI void * $ctor()
MCAPI bool hasErrors() const
MCAPI::PackReport & operator=(::PackReport const &)
MCAPI ~PackReport()
MCAPI PackReport()
MCAPI void * $ctor(::PackReport const &)