Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OnInteractTriggerDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/triggers/BlockTriggerDescription.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15class OnInteractTriggerDescription : public ::BlockTriggerDescription<::OnInteractTrigger> {
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ::std::string const& getName() const /*override*/;
20
21 virtual bool isNetworkComponent() const /*override*/;
22
23 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
24
25 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
26 // NOLINTEND
27
28public:
29 // static variables
30 // NOLINTBEGIN
31 MCNAPI static ::std::string const& NameID();
32 // NOLINTEND
33
34public:
35 // virtual function thunks
36 // NOLINTBEGIN
37 MCNAPI ::std::string const& $getName() const;
38
39 MCNAPI bool $isNetworkComponent() const;
40
41 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
42
44
45
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCNAPI static void** $vftable();
52 // NOLINTEND
53};
Definition CompoundTag.h:18
Definition OnInteractTriggerDescription.h:15
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
static MCAPI void ** $vftable()
static MCAPI ::std::string const & NameID()
MCAPI::std::string const & $getName() const
MCAPI bool $isNetworkComponent() const
Definition OnInteractTrigger.h:14
Definition BlockTriggerDescription.h:6
Definition ReflectionCtx.h:11
Definition ctx.h:5