LeviLamina
Loading...
Searching...
No Matches
ScriptNetworkBeforeEvents.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#include "mc/deps/scripting/lifetime_registry/WeakHandleFromThis.h"
8#include "mc/scripting/modules/minecraft_net/events/IScriptNetworkBeforeEvents.h"
9
10// auto generated forward declare list
11// clang-format off
14namespace ScriptModuleMinecraftNet { struct ScriptPacketReceiveBeforeEvent; }
15namespace ScriptModuleMinecraftNet { struct ScriptPacketSendBeforeEvent; }
16namespace Scripting { class ModuleBindingBuilder; }
17// clang-format on
18
19namespace ScriptModuleMinecraftNet {
20
23 public ::Scripting::WeakHandleFromThis<::ScriptModuleMinecraftNet::ScriptNetworkBeforeEvents> {
24public:
25 // member variables
26 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~ScriptNetworkBeforeEvents() /*override*/;
45
46 // vIndex: 1
47 virtual ::std::optional<
49 onBeforePacketReceive(::IncomingPacketEvent const& packetEvent) /*override*/;
50
51 // vIndex: 2
52 virtual ::std::optional<
54 onBeforePacketSend(::OutgoingPacketEvent const& packetEvent) /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
61
62 MCNAPI ::ScriptModuleMinecraftNet::ScriptNetworkBeforeEvents&
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCNAPI void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCNAPI ::std::optional<
90
91 MCNAPI ::std::optional<
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
102
103} // namespace ScriptModuleMinecraftNet
Definition IScriptNetworkBeforeEvents.h:18
Definition ScriptNetworkBeforeEvents.h:23
MCAPI::ScriptModuleMinecraftNet::ScriptNetworkBeforeEvents & operator=(::ScriptModuleMinecraftNet::ScriptNetworkBeforeEvents &&)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftNet::ScriptPacketSendBeforeEvent > > $onBeforePacketSend(::OutgoingPacketEvent const &packetEvent)
MCAPI ScriptNetworkBeforeEvents(::ScriptModuleMinecraftNet::ScriptNetworkBeforeEvents &&)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
MCAPI void * $ctor(::ScriptModuleMinecraftNet::ScriptNetworkBeforeEvents &&)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftNet::ScriptPacketReceiveBeforeEvent > > $onBeforePacketReceive(::IncomingPacketEvent const &packetEvent)
Definition ModuleBindingBuilder.h:30
Definition StrongTypedObjectHandle.h:8
Definition WeakHandleFromThis.h:8
Definition IncomingPacketEvent.h:14
Definition OutgoingPacketEvent.h:14
Definition Alias.h:14