LeviLamina
Loading...
Searching...
No Matches
ITrait.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockType;
8class CompoundTag;
9namespace cereal { struct ReflectionCtx; }
10// clang-format on
11
12namespace BlockTrait {
13
14class ITrait {
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~ITrait();
19
20 virtual void applyToBlockType(::BlockType&) const = 0;
21
22 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const&) const = 0;
23
24 virtual void initializeFromNetwork(::CompoundTag const&, ::cereal::ReflectionCtx const&) = 0;
25 // NOLINTEND
26
27public:
28 // destructor thunk
29 // NOLINTBEGIN
30 MCFOLD void $dtor();
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36
37 // NOLINTEND
38
39public:
40 // vftables
41 // NOLINTBEGIN
42 MCNAPI static void** $vftable();
43 // NOLINTEND
44};
45
46} // namespace BlockTrait
Definition ITrait.h:14
static MCAPI void ** $vftable()
Definition BlockType.h:84
Definition CompoundTag.h:23
Definition ReflectionCtx.h:11