object Loadout
- Source
- Loadout.scala
- Alphabetic
- By Inheritance
- Loadout
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class ShorthandAmmoBox(definition: AmmoBoxDefinition, capacity: Int) extends Simplification with Product with Serializable
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 previousAmmoBoxDefinition
will be referenced for the amount later
- final case class ShorthandAmmoSlot(ammoIndex: Int, ammo: ShorthandAmmoBox) extends Product with Serializable
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
- final case class ShorthandConstructionItem(definition: ConstructionItemDefinition) extends Simplification with Product with Serializable
The simplified form of a
ConstructionItem
.The simplified form of a
ConstructionItem
.- definition
the
ConstructionItemDefinition
that describes this future object
- final case class ShorthandKit(definition: KitDefinition) extends Simplification with Product with Serializable
The simplified form of a
Kit
.The simplified form of a
Kit
.- definition
the
KitDefinition
that describes this future object
- final case class ShorthandSimpleItem(definition: SimpleItemDefinition) extends Simplification with Product with Serializable
The simplified form of a
SimpleItem
.The simplified form of a
SimpleItem
.- definition
the
SimpleItemDefinition
that describes this future object
- final case class ShorthandTool(definition: ToolDefinition, ammo: List[ShorthandAmmoSlot]) extends Simplification with Product with Serializable
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
- final case class ShorthandTriggerItem(definition: SimpleItemDefinition) extends Simplification with Product with Serializable
The simplified form of a
BoomerTrigger
, a unique kind ofSimpleItem
.The simplified form of a
BoomerTrigger
, a unique kind ofSimpleItem
.- definition
the
SimpleItemDefinition
that describes this future object; actually ignored, but retained for function definition consistency
- sealed trait Simplification extends AnyRef
A basic
Trait
connecting all of theEquipment
blueprints. - final case class SimplifiedEntry(item: Simplification, index: Int) extends Product with Serializable
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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def Create(squad: Squad, label: String): Loadout
na
- def Create(vehicle: Vehicle, label: String): Loadout
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
- def Create(player: Player, label: String): Loadout
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
- def Create(owner: Any, label: String): Try[Loadout]
- def DetermineSubtype(vehicle: Vehicle): Int
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
- def DetermineSubtype(player: Player): Int
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def packageSimplifications(equipment: List[InventoryItem]): List[SimplifiedEntry]
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 simplifiedEquipment
- Attributes
- protected
- def packageSimplifications(equipment: Array[EquipmentSlot]): List[SimplifiedEntry]
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 simplifiedEquipment
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()