LeviLamina
Loading...
Searching...
No Matches
AttributeReplay.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/vanilla_components/MovementAttributesComponent.h"
7#include "mc/entity/components/MovementAttributeAccess.h"
8#include "mc/entity/components/MovementAttributeCorrectionMode.h"
9#include "mc/entity/utilities/AdvanceFrameResult.h"
10#include "mc/entity/utilities/IMovementCorrection.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
15class EntityContext;
17namespace MovementDataExtractionUtility { class SnapshotAccessor; }
18// clang-format on
19
20namespace History {
21
22class AttributeReplay : public ::IMovementCorrection {
23public:
24 // AttributeReplay inner types declare
25 // clang-format off
27 // clang-format on
28
29 // AttributeReplay inner types define
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 8, ::std::optional<float> MovementAttributesComponent::*>
35 mMovementAttributeComponentMemberPtr;
36 ::ll::TypedStorage<1, 1, ::MovementAttributeAccess> mAccess;
37 ::ll::TypedStorage<1, 1, ::MovementAttributeCorrectionMode> mCorrectionMode;
38 ::ll::TypedStorage<1, 1, bool> mSkipUpdate;
39 // NOLINTEND
40 };
41
42public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UpdateAttributesPacket>> mPacket;
46 ::ll::TypedStorage<4, 72, ::MovementAttributesComponent> mMovementAttributes;
47 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::History::AttributeReplay::MovementAttributeInfo>>
48 mMovementAttributesInfo;
49 // NOLINTEND
50
51public:
52 // prevent constructor by default
53 AttributeReplay();
54
55public:
56 // virtual functions
57 // NOLINTBEGIN
58 virtual ::AdvanceFrameResult
59 getAdvanceFrameResult(::MovementDataExtractionUtility::SnapshotAccessor const& entity) /*override*/;
60
61 virtual void advanceFrame(::EntityContext& entity) const /*override*/;
62
63 virtual void advanceLiveFrame(::Actor& actor, ::std::optional<uint64>) /*override*/;
64
65 virtual ::std::bitset<2> getCorrectionTypeBitset() const /*override*/;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71 MCAPI explicit AttributeReplay(::std::shared_ptr<::UpdateAttributesPacket> packet);
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::std::shared_ptr<::UpdateAttributesPacket> packet);
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::AdvanceFrameResult $getAdvanceFrameResult(::MovementDataExtractionUtility::SnapshotAccessor const& entity);
84
85 MCAPI void $advanceFrame(::EntityContext& entity) const;
86
87 MCAPI void $advanceLiveFrame(::Actor& actor, ::std::optional<uint64>);
88
89 MCAPI ::std::bitset<2> $getCorrectionTypeBitset() const;
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
98
99} // namespace History
Definition Actor.h:125
Definition EntityContext.h:17
Definition AttributeReplay.h:7
static MCAPI void ** $vftable()
Definition SnapshotAccessor.h:12
Definition UpdateAttributesPacket.h:22