LeviLamina
Loading...
Searching...
No Matches
IScriptNetworkBeforeEvents.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
8// auto generated forward declare list
9// clang-format off
12namespace ScriptModuleMinecraftNet { struct ScriptPacketReceiveBeforeEvent; }
13namespace ScriptModuleMinecraftNet { struct ScriptPacketSendBeforeEvent; }
14// clang-format on
15
16namespace ScriptModuleMinecraftNet {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~IScriptNetworkBeforeEvents() = default;
24
25 // vIndex: 1
26 virtual ::std::optional<
28 onBeforePacketReceive(::IncomingPacketEvent const&) = 0;
29
30 // vIndex: 2
31 virtual ::std::optional<
33 onBeforePacketSend(::OutgoingPacketEvent const&) = 0;
34 // NOLINTEND
35
36public:
37 // destructor thunk
38 // NOLINTBEGIN
39
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCAPI static void** $vftable();
52 // NOLINTEND
53};
54
55} // namespace ScriptModuleMinecraftNet
Definition IScriptNetworkBeforeEvents.h:18
Definition StrongTypedObjectHandle.h:8
Definition IncomingPacketEvent.h:14
Definition OutgoingPacketEvent.h:14