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
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 // prevent constructor by default
33 AttributeData& operator=(AttributeData const&);
35
36public:
37 // member functions
38 // NOLINTBEGIN
40
41 MCNAPI explicit AttributeData(::AttributeInstance const& instance);
42
43 MCNAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
44
45 MCNAPI void write(::BinaryStream& stream) const;
46
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::AttributeData const&);
54
55 MCNAPI void* $ctor(::AttributeInstance const& instance);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCNAPI void $dtor();
62 // NOLINTEND
63};
Definition AttributeInstance.h:16
Definition AttributeModifier.h:10
Definition BinaryStream.h:10
Definition ReadOnlyBinaryStream.h:8
Definition AttributeData.h:17
MCAPI void write(::BinaryStream &stream) const
MCAPI void * $ctor(::AttributeData const &)
MCAPI void $dtor()
MCAPI AttributeData(::AttributeData const &)
MCAPI AttributeData(::AttributeInstance const &instance)
MCAPI void * $ctor(::AttributeInstance const &instance)
MCAPI ~AttributeData()
MCAPI ::Bedrock::Result< void > read(::ReadOnlyBinaryStream &stream)