Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ResourceInformation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/sem_ver/SemVersion.h"
7#include "mc/platform/UUID.h"
8
9class ResourceInformation {
10public:
11 // ResourceInformation inner types define
12 enum class ResourceType : int {
13 Invalid = 0,
14 Resources = 1,
15 DataAddOn = 2,
16 ScriptAddOn = 3,
17 ClientScriptAddOn = 4,
18 Mandatory = 5,
19 WorldTemplate = 6,
20 AppScriptAddOn = 7,
21 Count = 8,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 32, ::std::string> mDescription;
28 ::ll::TypedStorage<8, 24, ::SemVersion> mVersion;
29 ::ll::TypedStorage<8, 16, ::mce::UUID> mUUID;
30 ::ll::TypedStorage<4, 4, ::ResourceInformation::ResourceType> mType;
31 ::ll::TypedStorage<8, 32, ::std::string> mLanguage;
32 ::ll::TypedStorage<8, 32, ::std::string> mEntry;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 ResourceInformation& operator=(ResourceInformation const&);
38 ResourceInformation();
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI ResourceInformation(::ResourceInformation const&);
44
46 ::std::string const& description,
47 ::SemVersion const& version,
48 ::mce::UUID const& uuid,
49 ::std::string const& type,
50 ::std::string const& language,
51 ::std::string const& entry
52 );
53
55 ::std::string const& description,
56 ::SemVersion const& version,
57 ::mce::UUID const& uuid,
58 ::ResourceInformation::ResourceType type,
59 ::std::string const& language,
60 ::std::string const& entry
61 );
62
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCNAPI static ::ResourceInformation::ResourceType ResourceTypeFromString(::std::string const& value);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor(::ResourceInformation const&);
76
77 MCNAPI void* $ctor(
78 ::std::string const& description,
79 ::SemVersion const& version,
80 ::mce::UUID const& uuid,
81 ::std::string const& type,
82 ::std::string const& language,
83 ::std::string const& entry
84 );
85
86 MCNAPI void* $ctor(
87 ::std::string const& description,
88 ::SemVersion const& version,
89 ::mce::UUID const& uuid,
90 ::ResourceInformation::ResourceType type,
91 ::std::string const& language,
92 ::std::string const& entry
93 );
94 // NOLINTEND
95
96public:
97 // destructor thunk
98 // NOLINTBEGIN
99 MCNAPI void $dtor();
100 // NOLINTEND
101};
MCAPI void $dtor()
MCAPI void * $ctor(::std::string const &description, ::SemVersion const &version, ::mce::UUID const &uuid, ::ResourceInformation::ResourceType type, ::std::string const &language, ::std::string const &entry)
MCAPI ResourceInformation(::std::string const &description, ::SemVersion const &version, ::mce::UUID const &uuid, ::ResourceInformation::ResourceType type, ::std::string const &language, ::std::string const &entry)
MCAPI ResourceInformation(::std::string const &description, ::SemVersion const &version, ::mce::UUID const &uuid, ::std::string const &type, ::std::string const &language, ::std::string const &entry)
static MCAPI ::ResourceInformation::ResourceType ResourceTypeFromString(::std::string const &value)
MCAPI void * $ctor(::ResourceInformation const &)
MCAPI ~ResourceInformation()
MCAPI void * $ctor(::std::string const &description, ::SemVersion const &version, ::mce::UUID const &uuid, ::std::string const &type, ::std::string const &language, ::std::string const &entry)
MCAPI ResourceInformation(::ResourceInformation const &)
Definition SemVersion.h:15
Definition UUID.h:8