LeviLamina
Loading...
Searching...
No Matches
BlockDeprecatedR16EventListenerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/small_vector_base.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class DefinitionEvent;
13class RenderParams;
15// clang-format on
16
17class BlockDeprecatedR16EventListenerComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DefinitionEvent>> mEventHandlers;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 BlockDeprecatedR16EventListenerComponent();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI explicit BlockDeprecatedR16EventListenerComponent(
32 ::std::unordered_map<::std::string, ::DefinitionEvent> const& eventHandlers
33 );
34
35 MCAPI void _executeEvent(
36 ::std::string const& eventName,
38 ::RenderParams& params
39 ) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void executeEvent(::Block const& block, ::std::string const& eventName, ::RenderParams& params);
46
47 MCAPI static bool executeTrigger(::Block const& block, ::DefinitionTrigger const& trigger, ::RenderParams& params);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::std::unordered_map<::std::string, ::DefinitionEvent> const& eventHandlers);
54 // NOLINTEND
55};
Definition small_vector_base.h:8
Definition Block.h:69
Definition DefinitionEvent.h:18
Definition DefinitionTrigger.h:16
Definition RenderParams.h:30
Definition ActorDefinitionEventStackEntry.h:5