LeviLamina
Loading...
Searching...
No Matches
AttributeData.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/platform/Result.h"
8
9// auto generated forward declare list
10// clang-format off
13class BinaryStream;
15// clang-format on
16
17struct AttributeData {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, float> mCurrentValue;
22 ::ll::TypedStorage<4, 4, float> mMinValue;
23 ::ll::TypedStorage<4, 4, float> mMaxValue;
24 ::ll::TypedStorage<4, 4, float> mDefaultValue;
25 ::ll::TypedStorage<4, 4, float> mDefaultMinValue;
26 ::ll::TypedStorage<4, 4, float> mDefaultMaxValue;
27 ::ll::TypedStorage<8, 48, ::HashedString> mName;
28 ::ll::TypedStorage<8, 24, ::std::vector<::AttributeModifier>> mModifiers;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI AttributeData();
35
36 MCAPI explicit AttributeData(::AttributeInstance const& instance);
37
38 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
39
40 MCAPI void write(::BinaryStream& stream) const;
41
42 MCAPI ~AttributeData();
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor();
49
50 MCAPI void* $ctor(::AttributeInstance const& instance);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58};
Definition AttributeInstance.h:17
Definition AttributeModifier.h:10
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8