LeviLamina
Loading...
Searching...
No Matches
HitDetectSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/phys/HitResult.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
12class IClientInstance;
13class LocalPlayer;
14// clang-format on
15
16class HitDetectSystem {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mPickRange;
21 ::ll::TypedStorage<4, 4, float> mInteractRange;
22 ::ll::TypedStorage<1, 1, bool> mEvaluated;
23 ::ll::TypedStorage<8, 136, ::HitResult> mViewHitResult;
24 ::ll::TypedStorage<8, 136, ::HitResult> mViewLastHitResult;
25 ::ll::TypedStorage<8, 136, ::HitResult> mViewLiquidHitResult;
26 ::ll::TypedStorage<8, 136, ::HitResult> mViewLastLiquidHitResult;
27 ::ll::TypedStorage<8, 136, ::HitResult> mPickHitResult;
28 ::ll::TypedStorage<8, 136, ::HitResult> mPickLastHitResult;
29 ::ll::TypedStorage<8, 136, ::HitResult> mPickLiquidHitResult;
30 ::ll::TypedStorage<8, 136, ::HitResult> mPickLastLiquidHitResult;
31 ::ll::TypedStorage<8, 8, ::ClientHitDetectCoordinator&> mEventCoordinator;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 HitDetectSystem& operator=(HitDetectSystem const&);
37 HitDetectSystem(HitDetectSystem const&);
38 HitDetectSystem();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~HitDetectSystem();
44
45 virtual void reset();
46
47 virtual void tick();
48
49 virtual void evaluate(::IClientInstance& client, float a);
50
51 virtual void _evaluateType(
52 ::IClientInstance& client,
53 float a,
54 ::Actor& cameraEntity,
55 ::LocalPlayer& player,
56 bool isPicking,
57 ::HitResult& hitResult,
58 ::HitResult& liquidHitResult
59 );
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCAPI explicit HitDetectSystem(::ClientHitDetectCoordinator& eventCoordinator);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::ClientHitDetectCoordinator& eventCoordinator);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $reset();
84
85 MCAPI void $tick();
86
87 MCAPI void $evaluate(::IClientInstance& client, float a);
88
89 MCAPI void $_evaluateType(
90 ::IClientInstance& client,
91 float a,
92 ::Actor& cameraEntity,
93 ::LocalPlayer& player,
94 bool isPicking,
95 ::HitResult& hitResult,
96 ::HitResult& liquidHitResult
97 );
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition Actor.h:106
Definition ClientHitDetectCoordinator.h:13
Definition HitDetectSystem.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition LocalPlayer.h:5