Object/Class

net.psforever.objects.loadouts

Loadout

Related Docs: class Loadout | package loadouts

Permalink

object Loadout

Source
Loadout.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Loadout
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class ShorthandAmmoBox(definition: AmmoBoxDefinition, capacity: Int) extends Simplification with Product with Serializable

    Permalink

    The simplified form of an AmmoBox.

    The simplified form of an AmmoBox.

    definition

    the AmmoBoxDefinition that describes this future object

    capacity

    the amount of ammunition, if any, to initialize; if None, then the previous AmmoBoxDefinition will be referenced for the amount later

  2. final case class ShorthandAmmoSlot(ammoIndex: Int, ammo: ShorthandAmmoBox) extends Product with Serializable

    Permalink

    The simplified form of a Tool FireMode

    The simplified form of a Tool FireMode

    ammoIndex

    the index that points to the type of ammunition this slot currently uses

    ammo

    a ShorthandAmmoBox object to load into that slot

  3. final case class ShorthandConstructionItem(definition: ConstructionItemDefinition) extends Simplification with Product with Serializable

    Permalink

    The simplified form of a ConstructionItem.

    The simplified form of a ConstructionItem.

    definition

    the ConstructionItemDefinition that describes this future object

  4. final case class ShorthandKit(definition: KitDefinition) extends Simplification with Product with Serializable

    Permalink

    The simplified form of a Kit.

    The simplified form of a Kit.

    definition

    the KitDefinition that describes this future object

  5. final case class ShorthandSimpleItem(definition: SimpleItemDefinition) extends Simplification with Product with Serializable

    Permalink

    The simplified form of a SimpleItem.

    The simplified form of a SimpleItem.

    definition

    the SimpleItemDefinition that describes this future object

  6. final case class ShorthandTool(definition: ToolDefinition, ammo: List[ShorthandAmmoSlot]) extends Simplification with Product with Serializable

    Permalink

    The simplified form of a Tool.

    The simplified form of a Tool.

    definition

    the ToolDefinition that describes this future object

    ammo

    the blueprints to construct the correct number of ammunition slots in the Tool

  7. final case class ShorthandTriggerItem(definition: SimpleItemDefinition) extends Simplification with Product with Serializable

    Permalink

    The simplified form of a BoomerTrigger, a unique kind of SimpleItem.

    The simplified form of a BoomerTrigger, a unique kind of SimpleItem.

    definition

    the SimpleItemDefinition that describes this future object; actually ignored, but retained for function definition consistency

  8. sealed trait Simplification extends AnyRef

    Permalink

    A basic Trait connecting all of the Equipment blueprints.

  9. final case class SimplifiedEntry(item: Simplification, index: Int) extends Product with Serializable

    Permalink

    An entry in the Loadout, wrapping around a slot index and what is in the slot index.

    An entry in the Loadout, wrapping around a slot index and what is in the slot index.

    item

    the Equipment

    index

    the slot number where the Equipment is to be stowed

    See also

    InventoryItem

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Create(vehicle: Vehicle, label: String): Loadout

    Permalink

    Produce the blueprint of a vehicle.

    Produce the blueprint of a vehicle.

    vehicle

    the vehicle

    label

    the name of this loadout

    returns

    a VehicleLoadout object populated with appropriate information about the current state of the vehicle

  5. def Create(player: Player, label: String): Loadout

    Permalink

    Produce the blueprint on a player.

    Produce the blueprint on a player.

    player

    the player

    label

    the name of this loadout

    returns

    an InfantryLoadout object populated with appropriate information about the current state of the player

  6. def DetermineSubtype(vehicle: Vehicle): Int

    Permalink

    The sub-type of the vehicle.

    The sub-type of the vehicle. Vehicle's have no subtype.

    vehicle

    the vehicle

    returns

    the numeric subtype, always 0

  7. def DetermineSubtype(player: Player): Int

    Permalink

    The sub-type of the player's uniform.

    The sub-type of the player's uniform. Applicable to mechanized assault units, mainly. The subtype is reported as a number but indicates the specialization - anti-infantry, ani-vehicular, anti-air - of the suit as indicated by the arm weapon(s).

    player

    the player

    returns

    the numeric subtype

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def packageSimplifications(equipment: List[InventoryItem]): List[SimplifiedEntry]

    Permalink

    Overloaded entry point for constructing simplified blueprints from inventory region equipment.

    Overloaded entry point for constructing simplified blueprints from inventory region equipment.

    equipment

    the enumerated contents of the inventory

    returns

    a List of simplified Equipment

    Attributes
    protected
  20. def packageSimplifications(equipment: Array[EquipmentSlot]): List[SimplifiedEntry]

    Permalink

    Overloaded entry point for constructing simplified blueprints from holster slot equipment.

    Overloaded entry point for constructing simplified blueprints from holster slot equipment.

    equipment

    the holster slots

    returns

    a List of simplified Equipment

    Attributes
    protected
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped