36 ::ll::TypedStorage<4, 4, float> mDuration;
42 MCFOLD
void setValue(
float duration);
50 ::ll::TypedStorage<8, 16, ::ItemDescriptor> itemDesc;
51 ::ll::TypedStorage<1, 1, bool> useOffhand;
52 ::ll::TypedStorage<1, 1, bool> searchInventory;
53 ::ll::TypedStorage<1, 1, bool> useInCreative;
60 ::ll::TypedStorage<8, 24, ::std::vector<::ShooterItemComponent::ShooterAmmunitionEntry>> mAmmunition;
61 ::ll::TypedStorage<4, 4, ::ShooterItemComponent::DrawDuration> mDrawDuration;
62 ::ll::TypedStorage<1, 1, bool> mScalePowerByDrawDuration;
63 ::ll::TypedStorage<1, 1, bool> mChargeOnDraw;
64 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
65 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
71 virtual ~ShooterItemComponent() ;
75 virtual bool checkComponentDataForContentErrors() const ;
81 MCAPI ShooterItemComponent();
83 MCAPI explicit ShooterItemComponent(::SharedTypes::v1_20_50::ShooterItemComponent const& component);
85 MCAPI
void _consumeAmmunition(
93 MCAPI
int _getAmmunition(::
Player const* player,
bool ammo, ::
ItemStack& fromOffhand,
bool&) const;
95 MCAPI
void _shootProjectiles(::
ItemStack& shooterStack, ::
Player* player,
int durationLeft) const;
97 MCAPI
bool releaseUsing(::
ItemStack& item, ::
Player* player,
int durationLeft) const;
99 MCAPI
void use(
bool& result, ::
ItemStack& instance, ::
Player& player) const;
105 MCAPI static
void bindType(
106 ::cereal::ReflectionCtx&
ctx,
107 ::
std::vector<::AllExperiments> const& requiredToggles,
119 MCAPI
void* $ctor(::SharedTypes::v1_20_50::ShooterItemComponent const& component);
133 MCAPI
bool $checkComponentDataForContentErrors() const;
Definition ShooterItemComponent.h:46