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 // IGameModeMessenger inner types define
15 using BlockBreakCaptureToken = ::gsl::final_action<::std::function<void()>>;
16
17 using BlockBreakCallback = ::std::function<void(::ItemStack const&, ::ItemStack const&, ::BlockPos const&)>;
18
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~IGameModeMessenger() = default;
24
25 // vIndex: 1
26 virtual ::gsl::final_action<::std::function<void()>> createBlockBreakCaptureScope(
27 ::std::function<void(::ItemStack const&, ::ItemStack const&, ::BlockPos const&)>
28 ) = 0;
29
30 // vIndex: 2
31 virtual void sendDenyDestroyBlock(::BlockPos const&, int) = 0;
32
33 // vIndex: 3
34 virtual void sendStartDestroyBlock(::BlockPos const&, int) = 0;
35
36 // vIndex: 4
37 virtual bool
38 sendTryDestroyBlock(::BlockPos const&, int, ::std::function<bool(::std::optional<::ItemStack>&)> const&) = 0;
39
40 // vIndex: 5
41 virtual void sendDestroyBlock(::Block const&, ::BlockPos const&, int) = 0;
42
43 // vIndex: 6
44 virtual void sendChangeContinueDestroyBlock(::BlockPos const&, int) = 0;
45
46 // vIndex: 7
47 virtual void sendContinueDestroyAboutToDestroyBlock(::BlockPos const&, int) = 0;
48
49 // vIndex: 8
50 virtual void sendStopDestroyBlock(::BlockPos const&, float) = 0;
51
52 // vIndex: 9
53 virtual void sendStartItemUseOn(::BlockPos const&, ::BlockPos const&, int) = 0;
54
55 // vIndex: 10
56 virtual void sendStopItemUseOn(::BlockPos const&) = 0;
57
58 // vIndex: 11
59 virtual void tryRotateTowardsAimAssist() = 0;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65
66 // NOLINTEND
67};
Definition BlockPos.h:17
Definition Block.h:37
Definition ItemStack.h:23
Definition IGameModeMessenger.h:12