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 Count = 7,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 32, ::std::string> mDescription;
27 ::ll::TypedStorage<8, 24, ::SemVersion> mVersion;
28 ::ll::TypedStorage<8, 16, ::mce::UUID> mUUID;
29 ::ll::TypedStorage<4, 4, ::ResourceInformation::ResourceType> mType;
30 ::ll::TypedStorage<8, 32, ::std::string> mLanguage;
31 ::ll::TypedStorage<8, 32, ::std::string> mEntry;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 ResourceInformation& operator=(ResourceInformation const&);
37 ResourceInformation();
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI ResourceInformation(::ResourceInformation const&);
43
44 MCAPI ResourceInformation(
45 ::std::string const& description,
46 ::SemVersion const& version,
47 ::mce::UUID const& uuid,
48 ::std::string const& type,
49 ::std::string const& language,
50 ::std::string const& entry
51 );
52
53 MCAPI ResourceInformation(
54 ::std::string const& description,
55 ::SemVersion const& version,
56 ::mce::UUID const& uuid,
57 ::ResourceInformation::ResourceType type,
58 ::std::string const& language,
59 ::std::string const& entry
60 );
61
62 MCAPI ~ResourceInformation();
63 // NOLINTEND
64
65public:
66 // static functions
67 // NOLINTBEGIN
68 MCAPI static ::ResourceInformation::ResourceType ResourceTypeFromString(::std::string const& value);
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(::ResourceInformation const&);
75
76 MCAPI void* $ctor(
77 ::std::string const& description,
78 ::SemVersion const& version,
79 ::mce::UUID const& uuid,
80 ::std::string const& type,
81 ::std::string const& language,
82 ::std::string const& entry
83 );
84
85 MCAPI void* $ctor(
86 ::std::string const& description,
87 ::SemVersion const& version,
88 ::mce::UUID const& uuid,
89 ::ResourceInformation::ResourceType type,
90 ::std::string const& language,
91 ::std::string const& entry
92 );
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCAPI void $dtor();
99 // NOLINTEND
100};
Definition SemVersion.h:15
Definition UUID.h:8