case object FacilityLogic extends BuildingLogic with Product with Serializable
The logic that governs standard facilities and structures.
- Source
- FacilityLogic.scala
- Alphabetic
- By Inheritance
- FacilityLogic
- Serializable
- Product
- Equals
- BuildingLogic
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 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
- FacilityLogic → BuildingLogic
- def amenityStateChange(details: BuildingWrapper, entity: Amenity, data: Option[Any]): Behavior[Command]
Although mundane facilities don't possess many amenities need to be statused on the continental map, the facilities can be captured and controlled by a particular empire and many amenities that can be abused by faction enemies.
Although mundane facilities don't possess many amenities need to be statused on the continental map, the facilities can be captured and controlled by a particular empire and many amenities that can be abused by faction enemies.
- 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
- FacilityLogic → BuildingLogic
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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 ntu(details: BuildingWrapper, msg: Command): Behavior[Command]
Field towers and other structures that are considered off the grid get free auto-repairs and give out free nanites.
Field towers and other structures that are considered off the grid get free auto-repairs and give out free nanites.
- 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
- FacilityLogic → BuildingLogic
- def ntuDepleted(details: BuildingWrapper): Behavior[Command]
The facility has run out of nanite resources.
The facility has run out of nanite resources. Update all related subsystems and statuses.
- details
package class that conveys the important information
- returns
the next behavior for this control agency messaging system
- Definition Classes
- FacilityLogic → BuildingLogic
- def powerOff(details: BuildingWrapper): Behavior[Command]
The facility has lost power.
The facility has lost power. Update all related subsystems and statuses.
- details
package class that conveys the important information
- returns
the next behavior for this control agency messaging system
- Definition Classes
- FacilityLogic → BuildingLogic
- def powerOn(details: BuildingWrapper): Behavior[Command]
The facility has regained power.
The facility has regained power. Update all related subsystems and statuses.
- details
package class that conveys the important information
- returns
the next behavior for this control agency messaging system
- Definition Classes
- FacilityLogic → BuildingLogic
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- FacilityLogic → BuildingLogic
- def suppliedWithNtu(details: BuildingWrapper): Behavior[Command]
The facility has had its nanite resources restored, even if partially.
The facility has had its nanite resources restored, even if partially. Update all related subsystems and statuses.
- details
package class that conveys the important information
- returns
the next behavior for this control agency messaging system
- Definition Classes
- FacilityLogic → BuildingLogic
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- 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
- FacilityLogic → BuildingLogic