Package com.fs.starfarer.api.loading
Interface ProjectileWeaponSpecAPI
- All Superinterfaces:
WeaponSpecAPI
,WithSourceMod
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
float
float
float
float
float
float
getProjectileSpeed
(MutableShipStatsAPI shipStats, WeaponAPI weapon) float
float
float
float
boolean
boolean
boolean
boolean
void
setAutoCharge
(boolean autoCharge) void
setBurstDelay
(float burstDelay) void
setBurstSize
(int burstSize) void
setChargeTime
(float chargeTime) void
setEnergyPerSecond
(float energyPerSecond) void
setEnergyPerShot
(float energyPerShot) void
setHardpointGlowSpriteName
(String hardpointGlowSpriteName) void
setHardpointGunSpriteName
(String hardpointGunSpriteName) void
setInterruptibleBurst
(boolean interruptibleBurst) void
setMaxSpread
(float maxSpread) void
setMinSpread
(float minSpread) void
setProjectileSpeed
(float projectileSpeed) void
setRefireDelay
(float refireDelay) void
setRequiresFullCharge
(boolean requiresFullCharge) void
setSeparateRecoilForLinkedBarrels
(boolean individualLinkedRecoil) void
setSpreadBuildup
(float spreadBuildup) void
setSpreadDecayRate
(float spreadDecayRate) void
setTurretGlowSpriteName
(String turretGlowSpriteName) void
setTurretGunSpriteName
(String turretGunSpriteName) void
setVisualRecoil
(float visualRecoil) Methods inherited from interface com.fs.starfarer.api.loading.WeaponSpecAPI
addTag, getAccuracyStr, getAIHints, getAmmoPerSecond, getAutofireAccBonus, getAutofitCategoriesInPriorityOrder, getAutofitCategory, getBaseValue, getBeamChargedownTime, getBeamChargeupTime, getBurstDuration, getCustomAncillary, getCustomAncillaryHL, getCustomPrimary, getCustomPrimaryHL, getDamageType, getDerivedStats, getExtraArcForAI, getFadePreviousFireSound, getGlowColor, getHardpointAngleOffsets, getHardpointFireOffsets, getHardpointSpriteName, getHardpointUnderSpriteName, getHiddenAngleOffsets, getHiddenFireOffsets, getManufacturer, getMaxAmmo, getMaxRange, getMountType, getOrdnancePointCost, getOrdnancePointCost, getPrimaryRoleStr, getRarity, getReloadSize, getSize, getSpeedStr, getTags, getTier, getTrackingStr, getTurnRate, getTurnRateStr, getTurretAngleOffsets, getTurretFireOffsets, getTurretSpriteName, getTurretUnderSpriteName, getType, getWeaponGroupTag, getWeaponId, getWeaponName, hasTag, isBeam, isBurstBeam, isNoDPSInTooltip, isNoImpactSounds, isNoNonShieldImpactSounds, isNoShieldImpactSounds, isPlayFullFireSoundOne, isRenderAboveAllWeapons, isRestrictToSpecifiedMountType, isShowDamageWhenDecorative, isStopPreviousFireSound, isUnaffectedByProjectileSpeedBonuses, setAccuracyStr, setAmmoPerSecond, setAutofireAccBonus, setBeamSpeed, setCustomAncillary, setCustomAncillaryHL, setCustomPrimary, setCustomPrimaryHL, setDamageType, setExtraArcForAI, setFadePreviousFireSound, setManufacturer, setMaxAmmo, setMaxRange, setMountType, setNoDPSInTooltip, setNoImpactSounds, setNoNonShieldImpactSounds, setNoShieldImpactSounds, setOrdnancePointCost, setPlayFullFireSoundOne, setPrimaryRoleStr, setRarity, setReloadSize, setRenderAboveAllWeapons, setRestrictToSpecifiedMountType, setSpeedStr, setStopPreviousFireSound, setTrackingStr, setTurnRate, setTurnRateStr, setUnaffectedByProjectileSpeedBonuses, setWeaponGroupTag, setWeaponName, usesAmmo
Methods inherited from interface com.fs.starfarer.api.loading.WithSourceMod
getSourceMod
-
Method Details
-
getEnergyPerShot
float getEnergyPerShot() -
setEnergyPerShot
void setEnergyPerShot(float energyPerShot) -
getRefireDelay
float getRefireDelay() -
setRefireDelay
void setRefireDelay(float refireDelay) -
getBurstSize
int getBurstSize()- Specified by:
getBurstSize
in interfaceWeaponSpecAPI
-
setBurstSize
void setBurstSize(int burstSize) -
isInterruptibleBurst
boolean isInterruptibleBurst()- Specified by:
isInterruptibleBurst
in interfaceWeaponSpecAPI
-
setInterruptibleBurst
void setInterruptibleBurst(boolean interruptibleBurst) -
getBurstDelay
float getBurstDelay() -
setBurstDelay
void setBurstDelay(float burstDelay) -
getMinSpread
float getMinSpread()- Specified by:
getMinSpread
in interfaceWeaponSpecAPI
-
setMinSpread
void setMinSpread(float minSpread) - Specified by:
setMinSpread
in interfaceWeaponSpecAPI
-
getMaxSpread
float getMaxSpread()- Specified by:
getMaxSpread
in interfaceWeaponSpecAPI
-
setMaxSpread
void setMaxSpread(float maxSpread) - Specified by:
setMaxSpread
in interfaceWeaponSpecAPI
-
getSpreadDecayRate
float getSpreadDecayRate()- Specified by:
getSpreadDecayRate
in interfaceWeaponSpecAPI
-
setSpreadDecayRate
void setSpreadDecayRate(float spreadDecayRate) - Specified by:
setSpreadDecayRate
in interfaceWeaponSpecAPI
-
getSpreadBuildup
float getSpreadBuildup()- Specified by:
getSpreadBuildup
in interfaceWeaponSpecAPI
-
setSpreadBuildup
void setSpreadBuildup(float spreadBuildup) - Specified by:
setSpreadBuildup
in interfaceWeaponSpecAPI
-
isAutoCharge
boolean isAutoCharge() -
setAutoCharge
void setAutoCharge(boolean autoCharge) -
getEnergyPerSecond
float getEnergyPerSecond() -
setEnergyPerSecond
void setEnergyPerSecond(float energyPerSecond) -
isRequiresFullCharge
boolean isRequiresFullCharge() -
setRequiresFullCharge
void setRequiresFullCharge(boolean requiresFullCharge) -
getProjectileSpeed
-
setProjectileSpeed
void setProjectileSpeed(float projectileSpeed) - Specified by:
setProjectileSpeed
in interfaceWeaponSpecAPI
-
setSeparateRecoilForLinkedBarrels
void setSeparateRecoilForLinkedBarrels(boolean individualLinkedRecoil) -
isSeparateRecoilForLinkedBarrels
boolean isSeparateRecoilForLinkedBarrels() -
getProjectileSpec
Object getProjectileSpec()- Specified by:
getProjectileSpec
in interfaceWeaponSpecAPI
-
getChargeTime
float getChargeTime()- Specified by:
getChargeTime
in interfaceWeaponSpecAPI
-
setChargeTime
void setChargeTime(float chargeTime) -
getHardpointGunSpriteName
String getHardpointGunSpriteName() -
setHardpointGunSpriteName
-
getTurretGunSpriteName
String getTurretGunSpriteName() -
setTurretGunSpriteName
-
getHardpointGlowSpriteName
String getHardpointGlowSpriteName() -
setTurretGlowSpriteName
-
getTurretGlowSpriteName
String getTurretGlowSpriteName() -
setHardpointGlowSpriteName
-
getVisualRecoil
float getVisualRecoil() -
setVisualRecoil
void setVisualRecoil(float visualRecoil) -
getAccuracyDisplayName
String getAccuracyDisplayName() -
getMuzzleFlashSpec
MuzzleFlashSpec getMuzzleFlashSpec()
-