WeaponStats class
- Annotations
-
- @JsonSerializable()
Constructors
-
WeaponStats(double fireRate, int magazineSize, double runSpeedMultiplier, double equipTimeSeconds, double reloadTimeSeconds, double firstBulletAccuracy, int shotgunPelletCount, String wallPenetration, String? feature, String? fireMode, String? altFireType, WeaponAdsStats? adsStats, WeaponShotgunStats? altShotgunStats, WeaponBurstStats? airBurstStats, List<
WeaponDamageRange> damageRanges) -
const
-
WeaponStats.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adsStats → WeaponAdsStats?
-
final
- airBurstStats → WeaponBurstStats?
-
final
- altFireType → String?
-
final
- altShotgunStats → WeaponShotgunStats?
-
final
-
damageRanges
→ List<
WeaponDamageRange> -
final
- equipTimeSeconds → double
-
final
- feature → String?
-
final
- fireMode → String?
-
final
- fireRate → double
-
final
- firstBulletAccuracy → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- magazineSize → int
-
final
- reloadTimeSeconds → double
-
final
- runSpeedMultiplier → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shotgunPelletCount → int
-
final
- wallPenetration → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited