3#include "mc/_HeaderOutputPredefine.h"
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"
21namespace ScriptModuleMinecraftNet {
23class ScriptNetworkBeforeEvents
38 ScriptNetworkBeforeEvents& operator=(ScriptNetworkBeforeEvents
const&);
39 ScriptNetworkBeforeEvents(ScriptNetworkBeforeEvents
const&);
40 ScriptNetworkBeforeEvents();
45 virtual ~ScriptNetworkBeforeEvents() ;
47 virtual ::std::optional<
51 virtual ::std::optional<
85 MCNAPI ::std::optional<
89 MCNAPI ::std::optional<
Definition IScriptNetworkBeforeEvents.h:18
MCAPI void * $ctor(::Scripting::WeakLifetimeScope scope, ::gsl::not_null<::ServerLevel * > level)
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftNet::ScriptPacketSendBeforeEvent > > $onBeforePacketSend(::OutgoingPacketEvent const &packetEvent)
MCAPI ScriptNetworkBeforeEvents(::Scripting::WeakLifetimeScope scope, ::gsl::not_null<::ServerLevel * > level)
static MCAPI void ** $vftable()
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
MCAPI void registerListeners()
MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftNet::ScriptPacketReceiveBeforeEvent > > $onBeforePacketReceive(::IncomingPacketEvent const &packetEvent)
Definition ModuleBindingBuilder.h:31
Definition StrongTypedObjectHandle.h:8
Definition WeakHandleFromThis.h:8
Definition WeakLifetimeScope.h:14
Definition ServerLevel.h:59
Definition IncomingPacketEvent.h:14
Definition OutgoingPacketEvent.h:14
Definition ScriptPacketReceiveBeforeEvent.h:18
Definition ScriptPacketSendBeforeEvent.h:18