LeviLamina
Loading...
Searching...
No Matches
IReplayStatePolicy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/utilities/AdvanceFrameResult.h"
7
8// auto generated forward declare list
9// clang-format off
10class EntityContext;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 0
20 virtual ~IReplayStatePolicy() = default;
21
22 // vIndex: 1
23 virtual bool isReplayNeeded(::AdvanceFrameResult) const = 0;
24
25 // vIndex: 2
26 virtual bool canRewind(::EntityContext const&) = 0;
27
28 // vIndex: 3
29 virtual ::MovementCorrection
30 shouldCorrectMovement(::EntityContext&, ::PlayerAuthInputPacket const&, uint64, uchar) = 0;
31
32 // vIndex: 4
33 virtual bool validateFrameSupport(::EntityContext&) = 0;
34
35 // vIndex: 5
36 virtual void notifyOfExternalCorrection(uint64) = 0;
37 // NOLINTEND
38
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48
49 // NOLINTEND
50};
Definition EntityContext.h:16
Definition PlayerAuthInputPacket.h:27
Definition IReplayStatePolicy.h:15
Definition MovementCorrection.h:5