36 ::ll::TypedStorage<8, 16, ::ItemDescriptor> itemDesc;
37 ::ll::TypedStorage<1, 1, bool> useOffhand;
38 ::ll::TypedStorage<1, 1, bool> searchInventory;
39 ::ll::TypedStorage<1, 1, bool> useInCreative;
51 MCFOLD ::ShooterItemComponent::ShooterAmmunitionEntry&
74 ::ll::TypedStorage<4, 4, float> mDuration;
80 MCFOLD
float getData()
const;
82 MCAPI
void setValue(
float duration);
89 ::ll::TypedStorage<8, 24, ::std::vector<::ShooterItemComponent::ShooterAmmunitionEntry>> mAmmunition;
90 ::ll::TypedStorage<4, 4, ::ShooterItemComponent::DrawDuration> mDrawDuration;
91 ::ll::TypedStorage<1, 1, bool> mScalePowerByDrawDuration;
92 ::ll::TypedStorage<1, 1, bool> mChargeOnDraw;
93 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
94 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
111 virtual bool checkComponentDataForContentErrors() const ;
119 MCAPI
void _consumeAmmunition(
127 MCAPI
int _getAmmunition(::
Player const* player,
bool, ::
ItemStack& ammo,
bool& fromOffhand) const;
129 MCAPI
void _shootProjectiles(::
ItemStack& shooterStack, ::
Player* player,
int durationLeft) const;
131 MCAPI
bool releaseUsing(::
ItemStack& item, ::
Player* player,
int durationLeft) const;
133 MCAPI
void use(
bool& result, ::
ItemStack& instance, ::
Player& player) const;
139 MCAPI static
void bindType(
140 ::cereal::ReflectionCtx&
ctx,
141 ::
std::vector<::AllExperiments> const& requiredToggles,
159 MCAPI
bool $checkComponentDataForContentErrors() const;
Definition ShooterItemComponent.h:32