LeviLamina
Loading...
Searching...
No Matches
ShooterItemComponent Class Reference
+ Inheritance diagram for ShooterItemComponent:

Classes

class  DrawDuration
 
struct  ShooterAmmunitionEntry
 

Public Member Functions

virtual void _initializeComponent ()
 
virtual bool checkComponentDataForContentErrors () const
 
MCAPI ShooterItemComponent (::SharedTypes::v1_20_50::ShooterItemComponent const &component)
 
MCAPI void _consumeAmmunition (::Player *player, ::ItemStack const &ammunition, int slotIndex, bool infiniteAmmo, bool fromOffhand) const
 
MCAPI int _getAmmunition (::Player const *player, bool ammo, ::ItemStack &fromOffhand, bool &) const
 
MCAPI void _shootProjectiles (::ItemStack &shooterStack, ::Player *player, int durationLeft) const
 
MCAPI bool releaseUsing (::ItemStack &item, ::Player *player, int durationLeft) const
 
MCAPI void use (bool &result, ::ItemStack &instance, ::Player &player) const
 
MCAPI void * $ctor (::SharedTypes::v1_20_50::ShooterItemComponent const &component)
 
MCAPI void $_initializeComponent ()
 
MCAPI bool $checkComponentDataForContentErrors () const
 

Static Public Member Functions

static MCAPI void bindType (::cereal::ReflectionCtx &ctx, ::std::vector<::AllExperiments > const &releasedMinFormatVersion, ::std::optional<::SemVersion > requiredToggles)
 
static MCAPI ::HashedString const & getIdentifier ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::ShooterItemComponent::ShooterAmmunitionEntry > > mAmmunition
 
::ll::TypedStorage< 4, 4, ::ShooterItemComponent::DrawDurationmDrawDuration
 
::ll::TypedStorage< 1, 1, bool > mScalePowerByDrawDuration
 
::ll::TypedStorage< 1, 1, bool > mChargeOnDraw
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnUseTimeDepletedSubscription
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnUseSubscription
 

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