class ZoneHotSpotProjector extends Actor
Manage hotspot information for a given zone,
keeping track of aggressive faction interactions,
and maintaining the visibility state of the hotspots that alert of the location of that activity.
One of the internal devices controlled by the ZoneHotSpotDisplay
,
this is the "projector" component that actually displays hotspots onto the zone's map.
- Source
- ZoneHotSpotProjector.scala
- See also
ZoneHotSpotDisplay
- Alphabetic
- By Inheritance
- ZoneHotSpotProjector
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ZoneHotSpotProjector(zone: Zone, hotspots: ListBuffer[HotSpotInfo], blankingTime: FiniteDuration)
- zone
the zone
- hotspots
the data structure of hot spot information that this projector will be leveraging
- blankingTime
how long to wait in between blanking periods
Type Members
- type Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
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 Established: Receive
The active message processing message handler.
The active message processing message handler.
- returns
a partial function
- See also
Zone.HotSpot.Activity
Zone.HotSpot.ClearAll
Zone.HotSpot.UpdateNow
Zone.ActivityBy
Zone.ActivityFor
Zone.TryHotSpot
ZoneHotSpotProjector.BlankingPhase
ZoneHotSpotProjector.UpdateDurationFunction
ZoneHotSpotProjector.UpdateMappingFunction
- def Initializing: Receive
Accept the
GalaxyService
hook and switch to active message processing when it arrives.Accept the
GalaxyService
hook and switch to active message processing when it arrives.- returns
a partial function
- See also
ActorContext.become
ServiceManager
ServiceManager.LookupResult
ZoneHotSpotProjector.UpdateDurationFunction
ZoneHotSpotProjector.UpdateMappingFunction
- def TryHotSpot(displayLoc: Vector3): HotSpotInfo
Match a hotspot location with a data structure for keeping track of activity information, either an existing structure or one that was created in the list of activity data for this location.
Match a hotspot location with a data structure for keeping track of activity information, either an existing structure or one that was created in the list of activity data for this location.
- displayLoc
the location for the hotpot that was normalized by the coordinate mapping function
- returns
the hotspot data that corresponds to this location
- See also
HotSpotInfo
- def UpdateDurationFunction(): Unit
Assign a new functionality for determining how long hotspots remain active.
Assign a new functionality for determining how long hotspots remain active. Recalculate all current hotspot information.
- def UpdateHotSpots(affectedFactions: Iterable[types.PlanetSideEmpire.Value], hotSpotInfos: Iterable[HotSpotInfo]): Unit
Submit new updates regarding the hotspots for a given group (faction) in this zone.
Submit new updates regarding the hotspots for a given group (faction) in this zone. As per how the client operates, all previous hotspots not represented in this list will be erased.
- affectedFactions
the factions whose hotspots for this zone need to be redrawn; if empty, no update/redraw calls are generated
- hotSpotInfos
the information for the current hotspots in this zone; if empty or contains no information for a selected group, that group's hotspots will be eliminated (blanked) as a result
- def UpdateMappingFunction(): Unit
Assign new functionality for determining where to depict howspots on a given zone map.
Assign new functionality for determining where to depict howspots on a given zone map. Recalculate all current hotspot information.
- def aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- var blanking: Cancellable
the timer for the blanking process
- var blankingDelay: FiniteDuration
how long to wait in between blanking periods while hotspots decay
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val context: ActorContext
- Definition Classes
- Actor
- 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])
- var galaxy: ActorRef
a hook for the
GalaxyService
used to broadcast messages - 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 postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def postStop(): Unit
Actions that occur after this
Actor
is formally stopped.Actions that occur after this
Actor
is formally stopped. Cancel all future blanking actions and release theGalaxyService
hook.- Definition Classes
- ZoneHotSpotProjector → Actor
- def preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preStart(): Unit
Actions that occur before this
Actor
is formally started.Actions that occur before this
Actor
is formally started. Request a hook for theGalaxyService
.- Definition Classes
- ZoneHotSpotProjector → Actor
- See also
ServiceManager
ServiceManager.Lookup
- def receive: Receive
- Definition Classes
- ZoneHotSpotProjector → Actor
- implicit final val self: ActorRef
- Definition Classes
- Actor
- final def sender(): ActorRef
- Definition Classes
- Actor
- def supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unhandled(message: Any): Unit
- Definition Classes
- Actor
- 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()