LeviLamina
Loading...
Searching...
No Matches
EventingRequest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11struct ActorUniqueID;
12// clang-format on
13
15public:
16 // EventingRequest inner types declare
17 // clang-format off
19 struct PersonaEmoteData;
20 struct PlayerBounceData;
22 // clang-format on
23
24 // EventingRequest inner types define
25 struct ActorMovementCorrectionData {
26 public:
27 // member variables
28 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 ActorMovementCorrectionData& operator=(ActorMovementCorrectionData const&);
36 ActorMovementCorrectionData(ActorMovementCorrectionData const&);
37 ActorMovementCorrectionData();
38 };
39
40 struct PersonaEmoteData {
41 public:
42 // member variables
43 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // prevent constructor by default
51 PersonaEmoteData& operator=(PersonaEmoteData const&);
52 PersonaEmoteData(PersonaEmoteData const&);
53 PersonaEmoteData();
54 };
55
56 struct PlayerBounceData {
57 public:
58 // member variables
59 // NOLINTBEGIN
63 // NOLINTEND
64
65 public:
66 // prevent constructor by default
67 PlayerBounceData& operator=(PlayerBounceData const&);
68 PlayerBounceData(PlayerBounceData const&);
69 PlayerBounceData();
70 };
71
72 struct PlayerUnexpectedFallDamageData {
73 public:
74 // member variables
75 // NOLINTBEGIN
79 // NOLINTEND
80
81 public:
82 // prevent constructor by default
83 PlayerUnexpectedFallDamageData& operator=(PlayerUnexpectedFallDamageData const&);
84 PlayerUnexpectedFallDamageData(PlayerUnexpectedFallDamageData const&);
85 PlayerUnexpectedFallDamageData();
86 };
87
88public:
89 // member variables
90 // NOLINTBEGIN
91 ::ll::TypedStorage<
92 8,
93 48,
94 ::std::variant<
99 mData;
100 // NOLINTEND
101
102public:
103 // static functions
104 // NOLINTBEGIN
105#ifdef LL_PLAT_C
106 MCAPI static ::EventingRequest
107 addActorMovementCorrectionDivergence(::ActorType actorType, ::std::vector<float> const& divergences);
108#endif
109
110 MCAPI static ::EventingRequest
111 addPersonaEmotePlayed(::std::string const& emoteProductId, bool isEmoteEndedEarly, int emoteSlotId);
112
113 MCAPI static ::EventingRequest
114 addPlayerBounced(::ActorUniqueID const& playerID, ::Block const& block, int bounceHeight);
115
116 MCAPI static ::EventingRequest
117 addPlayerUnexpectedFallDamage(float fallDistance, bool isVehicle, float divergenceAmount);
118 // NOLINTEND
119};
Definition Block.h:69
Definition ActorUniqueID.h:10
Definition EventingRequest.h:25
Definition EventingRequest.h:40
Definition EventingRequest.h:56
Definition EventingRequest.h:14
Definition Alias.h:14