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 virtual ~IScriptNetworkBeforeEvents() = default;
23
24 virtual ::std::optional<
26 onBeforePacketReceive(::IncomingPacketEvent const&) = 0;
27
28 virtual ::std::optional<
30 onBeforePacketSend(::OutgoingPacketEvent const&) = 0;
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 ScriptModuleMinecraftNet
Definition IScriptNetworkBeforeEvents.h:18
Definition StrongTypedObjectHandle.h:8
Definition IncomingPacketEvent.h:14
Definition OutgoingPacketEvent.h:14
Definition ScriptPacketReceiveBeforeEvent.h:18
Definition ScriptPacketSendBeforeEvent.h:18