49 MCNAPI ::ShooterItemComponent::ShooterAmmunitionEntry&
93 ::ll::TypedStorage<8, 24, ::std::vector<::ShooterItemComponent::ShooterAmmunitionEntry>> mAmmunition;
94 ::ll::TypedStorage<4, 4, ::ShooterItemComponent::DrawDuration> mDrawDuration;
95 ::ll::TypedStorage<1, 1, bool> mScalePowerByDrawDuration;
96 ::ll::TypedStorage<1, 1, bool> mChargeOnDraw;
97 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
98 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
112 virtual void _initializeComponent() ;
115 virtual bool checkComponentDataForContentErrors() const ;
123 MCAPI
void _consumeAmmunition(
131 MCAPI
int _getAmmunition(::
Player const* player,
bool, ::
ItemStack& ammo,
bool& fromOffhand) const;
133 MCAPI
void _shootProjectiles(::
ItemStack& shooterStack, ::
Player* player,
int durationLeft) const;
135 MCAPI
bool releaseUsing(::
ItemStack& item, ::
Player* player,
int durationLeft) const;
137 MCAPI
void use(
bool& result, ::
ItemStack& instance, ::
Player& player) const;
143 MCAPI static
void bindType(
144 ::cereal::ReflectionCtx&
ctx,
145 ::
std::vector<::AllExperiments> const& requiredToggles,
161 MCAPI
void $_initializeComponent();
163 MCAPI
bool $checkComponentDataForContentErrors() const;
Definition ShooterItemComponent.h:30
MCAPI ~ShooterAmmunitionEntry()
MCAPI ShooterAmmunitionEntry(::ShooterItemComponent::ShooterAmmunitionEntry const &)
MCAPI void * $ctor(::ShooterItemComponent::ShooterAmmunitionEntry const &)
MCAPI::ShooterItemComponent::ShooterAmmunitionEntry & operator=(::ShooterItemComponent::ShooterAmmunitionEntry const &)