# PSF-LoginServer - master - net.psforever.objects.vital.resistance
PSF - LoginServer - master - net.psforever.objects.vital.resistance
Keywords: PSF LoginServer master net.psforever.objects.vital.resistance

PSF-LoginServer - master < Back


# Packages

-  package root
  Definition Classes
    root
-  package net
  Definition Classes
    root
-  package psforever
  Definition Classes
    net
-  package objects
  Definition Classes
    psforever
-  package vital
  Definition Classes
    objects
-  package base
  Definition Classes
    vital
-  package collision
  Definition Classes
    vital
-  package damage
  Definition Classes
    vital
-  package environment
  Definition Classes
    vital
-  package etc
  Definition Classes
    vital
-  package interaction
  Definition Classes
    vital
-  package projectile
  Definition Classes
    vital
-  package prop
  Definition Classes
    vital
-  package resistance
  Definition Classes
    vital
- ResistanceCalculations
- ResistanceProfile
- ResistanceProfileMutators
- ResistanceSelection
- StandardResistanceProfile
-  package resolution
  Definition Classes
    vital

p

net.psforever.objects.vital

# resistance

#### package resistance


Ordering

1. Alphabetic

Visibility

1. Public
2. Protected

### Type Members

1.  abstract class ResistanceCalculations [TargetType] extends AnyRef

   The base for function literal description related to calculating resistance information.

   The base for function literal description related to calculating resistance information. This glue connects target validation to value extraction to avoid the possibility of `NullPointerException` and `ClassCastException`. Some different types of vital objects store their resistance values in different places.

   TargetType

     an internal type that converts between `validate`'s output and `extractor`'s input; in essence, should match the type of object container to which these resistances belong; never has to be defined explicitly but will be checked at compile time

2.  trait ResistanceProfile extends AnyRef

   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.

3.  trait ResistanceProfileMutators extends ResistanceProfile

   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 both accessor and mutator functions.

4.  trait ResistanceSelection extends AnyRef

   Maintain information about four primary forms of resistance calculation and a means to test which calculation is valid in a given situation.

5.  trait StandardResistanceProfile extends ResistanceProfile

   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`.

### Value Members

1.  object ResistanceCalculations
2.  object ResistanceSelection

### Ungrouped