LeviLamina
Loading...
Searching...
No Matches
Attribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/attribute/RedefinitionMode.h"
8
9class Attribute {
10public:
11 // member variables
12 // NOLINTBEGIN
13 ::ll::TypedStorage<1, 1, ::RedefinitionMode> mRedefinitionMode;
14 ::ll::TypedStorage<1, 1, bool> mSyncable;
15 ::ll::TypedStorage<4, 4, uint> mIDValue;
16 ::ll::TypedStorage<8, 48, ::HashedString> mName;
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
21 Attribute();
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCAPI Attribute(::HashedString const& name, ::RedefinitionMode redefMode, bool isSyncable);
27
28 MCFOLD uint const getIDValue() const;
29
30 MCFOLD ::HashedString const& getName() const;
31
32 MCFOLD ::RedefinitionMode getRedefinitionMode() const;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static ::Attribute& getByName(::HashedString const& attribute);
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI void* $ctor(::HashedString const& name, ::RedefinitionMode redefMode, bool isSyncable);
45 // NOLINTEND
46};
Definition HashedString.h:5