Package

net.psforever.objects

vital

Permalink

package vital

Visibility
  1. Public
  2. All

Type Members

  1. final case class DamageFromProjectile(data: ResolvedProjectile) extends DamagingActivity with Product with Serializable

    Permalink
  2. trait DamageResistanceModel extends AnyRef

    Permalink

    The functionality that is necessary for interaction of a vital game object with the rest of the game world.

    A vital object can be hurt or damaged or healed or repaired (HDHR).

    The functionality that is necessary for interaction of a vital game object with the rest of the game world.

    A vital object can be hurt or damaged or healed or repaired (HDHR). The actual implementation of how that works is left to the specific object and its interfaces, however. The more involved values that are applied to the vital object are calculated by a series of functions that contribute different values, e.g., the value for being damaged. "Being damaged" is also not the same for all valid targets: some targets don't utilize the same kinds of values in the same way as another, and some targets utilize a different assortment of values than either of the first two examples. The damage model is a common interface for producing those values and reconciling those values with a valid target object without much fuss.

    By default, nothing should do anything of substance.

    See also

    Vitality

  3. abstract class DamagingActivity extends VitalsActivity

    Permalink
  4. final case class HealFromExoSuitChange(target: PlayerSource, exosuit: types.ExoSuitType.Value) extends HealingActivity with Product with Serializable

    Permalink
  5. final case class HealFromImplant(target: PlayerSource, amount: Int, implant: types.ImplantType.Value) extends HealingActivity with Product with Serializable

    Permalink
  6. final case class HealFromKit(target: PlayerSource, amount: Int, kit_def: KitDefinition) extends HealingActivity with Product with Serializable

    Permalink
  7. final case class HealFromTerm(target: PlayerSource, health: Int, armor: Int, term_def: TerminalDefinition) extends HealingActivity with Product with Serializable

    Permalink
  8. abstract class HealingActivity extends VitalsActivity

    Permalink
  9. class NoDamageBase extends DamageCalculations

    Permalink

    A protected super class for calculating "no damage." Used for NoDamage but also for the base of *LashDamage calculation objects to maintain the polymorphic identity of DamageCalculations.

    A protected super class for calculating "no damage." Used for NoDamage but also for the base of *LashDamage calculation objects to maintain the polymorphic identity of DamageCalculations.

    Attributes
    protected
  10. final case class PlayerSuicide(target: PlayerSource) extends DamagingActivity with Product with Serializable

    Permalink
  11. final case class RepairFromTerm(target: VehicleSource, amount: Int, term_def: TerminalDefinition) extends HealingActivity with Product with Serializable

    Permalink
  12. trait StandardDamageProfile extends DamageProfile

    Permalink
  13. trait StandardResistanceProfile extends ResistanceProfile

    Permalink

    The different values for four common methods of modifying incoming damage.

    The different values for four common methods of modifying incoming damage. Two of the four resistances are directly paired with forms of incoming damage. This is for defining pure accessor functions, based on the assumption that the implementing object's Definition is the primary ResistanceProfile.

  14. final case class VehicleShieldCharge(target: VehicleSource, amount: Int) extends HealingActivity with Product with Serializable

    Permalink
  15. trait Vitality extends AnyRef

    Permalink

    A vital object can be hurt or damaged or healed or repaired (HDHR).

    A vital object can be hurt or damaged or healed or repaired (HDHR). The amount of HDHR is controlled by the damage model of this vital object reacting to stimulus. A history of the previous changes in vital statistics of the underlying object is recorded in reverse chronological order. The damage model is also provided.

  16. abstract class VitalsActivity extends AnyRef

    Permalink

Value Members

  1. object AircraftHitDamage extends DamageCalculations

    Permalink
  2. object AircraftLashDamage extends DamageCalculations

    Permalink
  3. object AircraftSplashDamage extends DamageCalculations

    Permalink
  4. object ComplexDeployableResolutions extends DamageResistCalculations[Int]

    Permalink
  5. object DamageType extends Enumeration

    Permalink

    An Enumeration of the damage type.

    An Enumeration of the damage type. These types are not necessarily representative of the kind of projectile being used; for example, the bolt driver's bolt is considered "splash."

  6. object InfantryAggravatedResistance extends ResistanceCalculations[PlayerSource]

    Permalink
  7. object InfantryHitDamage extends DamageCalculations

    Permalink
  8. object InfantryHitResistance extends ResistanceCalculations[PlayerSource]

    Permalink
  9. object InfantryLashDamage extends DamageCalculations

    Permalink
  10. object InfantryLashResistance extends ResistanceCalculations[PlayerSource]

    Permalink
  11. object InfantryResolutions extends DamageResistCalculations[(Int, Int)]

    Permalink
  12. object InfantrySplashDamage extends DamageCalculations

    Permalink
  13. object InfantrySplashDamageDirect extends DamageCalculations

    Permalink
  14. object InfantrySplashResistance extends ResistanceCalculations[PlayerSource]

    Permalink
  15. object MaxHitDamage extends DamageCalculations

    Permalink
  16. object MaxLashDamage extends DamageCalculations

    Permalink
  17. object MaxResolutions extends DamageResistCalculations[(Int, Int)]

    Permalink
  18. object MaxSplashDamage extends DamageCalculations

    Permalink
  19. object NoDamage extends NoDamageBase

    Permalink
  20. object NoDamageSelection extends DamageSelection

    Permalink
  21. object NoResistance extends ResistanceCalculations[SourceEntry]

    Permalink
  22. object NoResistanceSelection extends ResistanceSelection

    Permalink
  23. object NoResolutions extends DamageResistCalculations[Int]

    Permalink
  24. object SimpleResolutions extends DamageResistCalculations[Int]

    Permalink
  25. object StandardAircraftDamage extends DamageSelection

    Permalink
  26. object StandardDeployableDamage extends DamageSelection

    Permalink
  27. object StandardInfantryDamage extends DamageSelection

    Permalink
  28. object StandardInfantryResistance extends ResistanceSelection

    Permalink
  29. object StandardMaxDamage extends DamageSelection

    Permalink
  30. object StandardResolutions extends ResolutionSelection

    Permalink
  31. object StandardVehicleDamage extends DamageSelection

    Permalink
  32. object StandardVehicleResistance extends ResistanceSelection

    Permalink
  33. object VehicleAggravatedResistance extends ResistanceCalculations[VehicleSource]

    Permalink
  34. object VehicleHitDamage extends DamageCalculations

    Permalink
  35. object VehicleHitResistance extends ResistanceCalculations[VehicleSource]

    Permalink
  36. object VehicleLashDamage extends DamageCalculations

    Permalink
  37. object VehicleLashResistance extends ResistanceCalculations[VehicleSource]

    Permalink
  38. object VehicleResolutions extends DamageResistCalculations[Int]

    Permalink
  39. object VehicleSplashDamage extends DamageCalculations

    Permalink
  40. object VehicleSplashResistance extends ResistanceCalculations[VehicleSource]

    Permalink
  41. object Vitality

    Permalink
  42. package damage

    Permalink
  43. package projectile

    Permalink
  44. package resistance

    Permalink
  45. package resolution

    Permalink

Ungrouped