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
17class DamageResponse : public ::EventResponse {
18public:
19 // member variables
20 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 DamageResponse& operator=(DamageResponse const&);
30 DamageResponse(DamageResponse const&);
31 DamageResponse();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::std::string const& getName() const /*override*/;
37
38 virtual void executeAction(::RenderParams& params) const /*override*/;
39
40 virtual void buildSchema(
42 ::Factory<::EventResponse> const& factory
43 ) const /*override*/;
44
45 virtual ~DamageResponse() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI void repairOrHurtItem(int const& amount, ::RenderParams& params) const;
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCNAPI static ::std::string const& NameID();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI ::std::string const& $getName() const;
64
65 MCNAPI void $executeAction(::RenderParams& params) const;
66
67 MCNAPI void $buildSchema(
69 ::Factory<::EventResponse> const& factory
70 ) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
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 EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition RenderParams.h:30
Definition EventResponseCollection.h:10
Definition Alias.h:14