LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent Struct Reference
Inheritance diagram for ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent:

Public Types

using EventConnectorsType

Public Member Functions

ScriptItemCustomComponentBeforeDurabilityDamageEvent & operator= (ScriptItemCustomComponentBeforeDurabilityDamageEvent const &)
virtual void updateEngineEvent (int &durabilityDamage, ::ItemStack &item, ::Actor &, ::Mob &) const
virtual bool shouldCancel () const
MCAPI ScriptItemCustomComponentBeforeDurabilityDamageEvent (::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent &&)
MCAPI ScriptItemCustomComponentBeforeDurabilityDamageEvent (::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent const &)
MCAPI void * $ctor (::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent &&)
MCAPI void * $ctor (::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent const &)
MCAPI void $dtor ()
MCAPI void $updateEngineEvent (int &durabilityDamage, ::ItemStack &item, ::Actor &, ::Mob &) const
MCFOLD bool $shouldCancel () const

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mDurabilityDamage
::ll::TypedStorage< 8, 40, ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > > > mScriptItem
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor > > mHitEntity
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor > > mAttackingEntity

Member Typedef Documentation

◆ EventConnectorsType

using ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent::EventConnectorsType
Initial value:
Definition Actor.h:105
Definition ItemStack.h:26
Definition Mob.h:50
Definition ScriptCustomComponentPubSubConnectors.h:8

Member Function Documentation

◆ $vftable()

MCAPI void ** ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this struct was generated from the following file: