LeviLamina
Loading...
Searching...
No Matches
DamageResponse.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Factory.h"
7#include "mc/util/json_util/JsonSchemaObjectNode.h"
8#include "mc/world/response/EventResponse.h"
9
10// auto generated forward declare list
11// clang-format off
12class RenderParams;
14namespace JsonUtil { class EmptyClass; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 DamageResponse& operator=(DamageResponse const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::std::string const& getName() const /*override*/;
38
39 // vIndex: 2
40 virtual void executeAction(::RenderParams& params) const /*override*/;
41
42 // vIndex: 3
43 virtual void buildSchema(
45 ::Factory<::EventResponse> const& factory
46 ) const /*override*/;
47
48 // vIndex: 0
49 virtual ~DamageResponse() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCNAPI void repairOrHurtItem(int const& amount, ::RenderParams& params) const;
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCNAPI static ::std::string const& NameID();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI ::std::string const& $getName() const;
68
69 MCNAPI void $executeAction(::RenderParams& params) const;
70
71 MCNAPI void $buildSchema(
73 ::Factory<::EventResponse> const& factory
74 ) const;
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition DamageResponse.h:17
static MCAPI void ** $vftable()
MCAPI void repairOrHurtItem(int const &amount, ::RenderParams &params) const
MCAPI void $executeAction(::RenderParams &params) const
MCAPI::std::string const & $getName() const
static MCAPI ::std::string const & NameID()
MCAPI void $buildSchema(::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::EventResponseCollection > > &root, ::Factory<::EventResponse > const &factory) const
Definition EventResponse.h:16
Definition Factory.h:6
Definition JsonSchemaObjectNode.h:8
Definition RenderParams.h:30
Definition EventResponseCollection.h:10
Definition Alias.h:14