LeviLamina
Loading...
Searching...
No Matches
IGameModeMessenger.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class BlockPos;
9class ItemStack;
10// clang-format on
11
13public:
14 // virtual functions
15 // NOLINTBEGIN
16 // vIndex: 0
17 virtual ~IGameModeMessenger() = default;
18
19 // vIndex: 1
20 virtual ::gsl::final_action<::std::function<void()>>
21 createBlockBreakCaptureScope(::std::function<
22 void(::ItemStack const&, ::ItemStack const&, ::BlockPos const&)>) = 0;
23
24 // vIndex: 2
25 virtual void sendDenyDestroyBlock(::BlockPos const&, int) = 0;
26
27 // vIndex: 3
28 virtual void sendStartDestroyBlock(::BlockPos const&, int) = 0;
29
30 // vIndex: 4
31 virtual bool
32 sendTryDestroyBlock(::BlockPos const&, int, ::std::function<bool(::std::optional<::ItemStack>&)> const&) = 0;
33
34 // vIndex: 5
35 virtual void sendDestroyBlock(::Block const&, ::BlockPos const&, int) = 0;
36
37 // vIndex: 6
38 virtual void sendChangeContinueDestroyBlock(::BlockPos const&, int) = 0;
39
40 // vIndex: 7
41 virtual void sendContinueDestroyAboutToDestroyBlock(::BlockPos const&, int) = 0;
42
43 // vIndex: 8
44 virtual void sendStopDestroyBlock(::BlockPos const&, float) = 0;
45
46 // vIndex: 9
47 virtual void sendStartItemUseOn(::BlockPos const&, ::BlockPos const&, int) = 0;
48
49 // vIndex: 10
50 virtual void sendStopItemUseOn(::BlockPos const&) = 0;
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62
63 // NOLINTEND
64};
Definition BlockPos.h:18
Definition Block.h:36
Definition ItemStack.h:25
Definition IGameModeMessenger.h:12