35 ::ll::TypedStorage<8, 16, ::ItemDescriptor> itemDesc;
36 ::ll::TypedStorage<1, 1, bool> useOffhand;
37 ::ll::TypedStorage<1, 1, bool> searchInventory;
38 ::ll::TypedStorage<1, 1, bool> useInCreative;
50 MCFOLD ::ShooterItemComponent::ShooterAmmunitionEntry&
73 ::ll::TypedStorage<4, 4, float> mDuration;
79 MCFOLD
float getData()
const;
81 MCAPI
void setValue(
float duration);
88 ::ll::TypedStorage<8, 24, ::std::vector<::ShooterItemComponent::ShooterAmmunitionEntry>> mAmmunition;
89 ::ll::TypedStorage<4, 4, ::ShooterItemComponent::DrawDuration> mDrawDuration;
90 ::ll::TypedStorage<1, 1, bool> mScalePowerByDrawDuration;
91 ::ll::TypedStorage<1, 1, bool> mChargeOnDraw;
92 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
93 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
110 virtual bool checkComponentDataForContentErrors() const ;
118 MCAPI
void _consumeAmmunition(
126 MCAPI
int _getAmmunition(::
Player const* player,
bool, ::
ItemStack& ammo,
bool& fromOffhand) const;
128 MCAPI
void _shootProjectiles(::
ItemStack& shooterStack, ::
Player* player,
int durationLeft) const;
130 MCAPI
bool releaseUsing(::
ItemStack& item, ::
Player* player,
int durationLeft) const;
132 MCAPI
void use(
bool& result, ::
ItemStack& instance, ::
Player& player) const;
138 MCAPI static
void bindType(
139 ::cereal::ReflectionCtx& ctx,
140 ::
std::vector<::AllExperiments> const& requiredToggles,
158 MCAPI
bool $checkComponentDataForContentErrors() const;
Definition ShooterItemComponent.h:31