Packages

o

net.psforever.actors.zone.building

MajorFacilityLogic

case object MajorFacilityLogic extends BuildingLogic with Product with Serializable

The logic that governs "major facilities" in the overworld - those bases that have lattice connectivity and individual nanite resource stockpiles.

Source
MajorFacilityLogic.scala
Linear Supertypes
Serializable, Product, Equals, BuildingLogic, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MajorFacilityLogic
  2. Serializable
  3. Product
  4. Equals
  5. BuildingLogic
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alertToFactionChange(details: BuildingWrapper, building: Building): Behavior[Command]

    A facility that influences this facility has changed its faction affiliation.

    A facility that influences this facility has changed its faction affiliation. Update all related subsystems and statuses of this facility.

    details

    package class that conveys the important information

    building

    the neighbor facility that has had its faction changed

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  5. def amenityStateChange(details: BuildingWrapper, entity: Amenity, data: Option[Any]): Behavior[Command]

    The power structure of major facilities has to be statused on the continental map via the state of its nanite-to-energy generator, and those facilities can be captured and controlled by a particular empire.

    The power structure of major facilities has to be statused on the continental map via the state of its nanite-to-energy generator, and those facilities can be captured and controlled by a particular empire.

    details

    package class that conveys the important information

    entity

    the installed Amenity entity

    data

    optional information

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkForceDomeStatus(building: Building): Option[Boolean]

    If this building is a capitol major facility, use the faction affinity, the generator status, and the resource silo's capacitance level to determine if the capitol force dome should be active.

    If this building is a capitol major facility, use the faction affinity, the generator status, and the resource silo's capacitance level to determine if the capitol force dome should be active.

    building

    the building being evaluated

    returns

    the condition of the capitol force dome; None, if the facility is not a capitol building; Some(true|false) to indicate the state of the force dome

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def log(details: BuildingWrapper): Logger

    Produce a log that borrows from the building name.

    Produce a log that borrows from the building name.

    details

    package class that conveys the important information

    returns

    the custom log

    Attributes
    protected
    Definition Classes
    BuildingLogic
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def ntu(details: BuildingWrapper, msg: Command): Behavior[Command]

    Major facilities have individual nanite reservoirs that are depleted as other installed components require.

    Major facilities have individual nanite reservoirs that are depleted as other installed components require. The main internal use of nanite resources is for auto-repair but various nefarious implements can be used to drain nanite resources from the facility directly.

    details

    package class that conveys the important information

    msg

    the original message that instigated this upoate

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  19. def ntuDepleted(details: BuildingWrapper): Behavior[Command]

    Running out of nanites is a huge deal.

    Running out of nanites is a huge deal. Without a supply of nanites, not only does the power go out but the faction affiliation of the facility is wiped away and it is rendered neutral.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  20. def powerOff(details: BuildingWrapper): Behavior[Command]

    Power has been severed.

    Power has been severed. All installed amenities are distributed a PowerOff message and are instructed to display their "unpowered" model. Additionally, the facility is now rendered unspawnable regardless of its player spawning amenities.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  21. def powerOn(details: BuildingWrapper): Behavior[Command]

    Power has been restored.

    Power has been restored. All installed amenities are distributed a PowerOn message and are instructed to display their "powered" model. Additionally, the facility is now rendered spawnable if its player spawning amenities are online.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  22. def productElementName(n: Int): String
    Definition Classes
    Product
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. def setFactionTo(details: BuildingWrapper, faction: types.PlanetSideEmpire.Value): Behavior[Command]

    The facility will change its faction affiliation.

    The facility will change its faction affiliation. Update all related subsystems and statuses.

    details

    package class that conveys the important information

    faction

    the faction affiliation to which the facility will update

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  25. def suppliedWithNtu(details: BuildingWrapper): Behavior[Command]

    Running out of nanites is a huge deal.

    Running out of nanites is a huge deal. Once a supply of nanites has been provided, however, the power may be restored if the facility generator is operational.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

    Definition Classes
    MajorFacilityLogicBuildingLogic
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. def wrapper(building: Building, context: ActorContext[Command], details: BuildingControlDetails): BuildingWrapper

    Produce an appropriate representation of the facility for the given logic implementation.

    Produce an appropriate representation of the facility for the given logic implementation.

    building

    building entity

    context

    message-passing reference

    details

    temporary storage to retain still-allocating reousces during facility startup

    returns

    the representation of the building and assorted connecting and reporting outlets

    Definition Classes
    MajorFacilityLogicBuildingLogic

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BuildingLogic

Inherited from AnyRef

Inherited from Any

Ungrouped