LeviLamina
Loading...
Searching...
No Matches
BlockEventDispatcherToken.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/events/BlockEventDispatcher.h"
5
6// auto generated inclusion list
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
12// clang-format on
13
14class BlockEventDispatcherToken {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 4, int> mHandle;
19 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::BlockEventDispatcher>> mDispatcher;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 BlockEventDispatcherToken& operator=(BlockEventDispatcherToken const&);
25 BlockEventDispatcherToken(BlockEventDispatcherToken const&);
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI BlockEventDispatcherToken();
31
32 MCAPI BlockEventDispatcherToken(::BlockEventDispatcherToken&& rhs);
33
34 MCAPI ::BlockEventDispatcher* getDispatcher() const;
35
36 MCFOLD int getHandle() const;
37
38 MCAPI bool isValid() const;
39
40 MCAPI ::BlockEventDispatcherToken& operator=(::BlockEventDispatcherToken&& rhs);
41
42 MCAPI void unregister();
43
44 MCAPI ~BlockEventDispatcherToken();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor();
51
52 MCAPI void* $ctor(::BlockEventDispatcherToken&& rhs);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60};
Definition BlockEventDispatcher.h:19