LeviLamina
Loading...
Searching...
No Matches
RelativeFloat.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class RelativeFloat {
6public:
7 // member variables
8 // NOLINTBEGIN
9 float mOffset;
10 bool mRelative;
11 // NOLINTEND
12
13public:
14 // member functions
15 // NOLINTBEGIN
16 MCAPI RelativeFloat();
17
18 MCAPI RelativeFloat(float offset, bool relative);
19
20 MCAPI float getValue(float base) const;
21
22 MCFOLD bool isRelative() const;
23 // NOLINTEND
24
25public:
26 // constructor thunks
27 // NOLINTBEGIN
28 MCFOLD void* $ctor();
29
30 MCAPI void* $ctor(float offset, bool relative);
31 // NOLINTEND
32};
33
34// clang-format off
35template <>
36MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::RelativeFloat>();
37// clang-format on