48 MCFOLD ::ShooterItemComponent::ShooterAmmunitionEntry&
83 MCAPI
void setValue(
float duration);
90 ::ll::TypedStorage<8, 24, ::std::vector<::ShooterItemComponent::ShooterAmmunitionEntry>> mAmmunition;
91 ::ll::TypedStorage<4, 4, ::ShooterItemComponent::DrawDuration> mDrawDuration;
92 ::ll::TypedStorage<1, 1, bool> mScalePowerByDrawDuration;
93 ::ll::TypedStorage<1, 1, bool> mChargeOnDraw;
94 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
95 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
105 virtual void _initializeComponent() ;
108 virtual bool checkComponentDataForContentErrors() const ;
116 MCAPI
void _consumeAmmunition(
124 MCAPI
int _getAmmunition(::
Player const* player,
bool ammo, ::
ItemStack& fromOffhand,
bool&) const;
126 MCAPI
void _shootProjectiles(::
ItemStack& shooterStack, ::
Player* player,
int durationLeft) const;
128 MCAPI
bool releaseUsing(::
ItemStack& item, ::
Player* player,
int durationLeft) const;
130 MCAPI
void use(
bool& result, ::
ItemStack& instance, ::
Player& player) const;
136 MCAPI static
void bindType(
137 ::cereal::ReflectionCtx&
ctx,
138 ::
std::vector<::AllExperiments> const& releasedMinFormatVersion,
160 MCAPI
void $_initializeComponent();
162 MCAPI
bool $checkComponentDataForContentErrors() const;
168 MCAPI static
void** $vftable();
Definition ShooterItemComponent.h:29