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 ::ResourceInformation::ResourceType type,
49 ::std::string const& language,
50 ::std::string const& entry
51 );
52
53 MCAPI ~ResourceInformation();
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static ::ResourceInformation::ResourceType ResourceTypeFromString(::std::string const& value);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::ResourceInformation const&);
66
67 MCAPI void* $ctor(
68 ::std::string const& description,
69 ::SemVersion const& version,
70 ::mce::UUID const& uuid,
71 ::ResourceInformation::ResourceType type,
72 ::std::string const& language,
73 ::std::string const& entry
74 );
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCAPI void $dtor();
81 // NOLINTEND
82};
Definition SemVersion.h:15
Definition UUID.h:7