class ResourceSiloControl extends Actor with Check with NtuStorageBehavior
An Actor
that handles messages being dispatched to a specific ResourceSilo
entity.
- Alphabetic
- By Inheritance
- ResourceSiloControl
- NtuStorageBehavior
- Check
- BasicAffinity
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ResourceSiloControl(resourceSilo: ResourceSilo)
- resourceSilo
the
ResourceSilo
entity being governed
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 FactionObject: FactionAffinity
- Definition Classes
- ResourceSiloControl → BasicAffinity
- def HandleNtuGrant(sender: ActorRef, src: NtuContainer, amount: Float): Unit
Accept nanites into the silo capacitor and set the animation state.
Accept nanites into the silo capacitor and set the animation state.
- Definition Classes
- ResourceSiloControl → NtuStorageBehavior
- def HandleNtuOffer(sender: ActorRef, src: NtuContainer): Unit
The silo will agree to offers until its nanite capacitor is completely full.
The silo will agree to offers until its nanite capacitor is completely full.
- Definition Classes
- ResourceSiloControl → NtuStorageBehavior
- def HandleNtuRequest(sender: ActorRef, min: Float, max: Float): Unit
na
na
- sender
na
- min
a minimum amount of nanites requested;
- max
the amount of nanites required to not make further requests;
- Definition Classes
- ResourceSiloControl → NtuStorageBehavior
- def LowNtuWarning(enabled: Boolean): Unit
- def NtuStorageObject: NtuContainer
- Definition Classes
- NtuStorageBehavior
- def PanelAnimation(source: ActorRef, trigger: Float): Unit
When charging from another source of nanites, the silo's panels will glow and a particle affect will traverse towards the panels from about ten meters in front of the silo.
When charging from another source of nanites, the silo's panels will glow and a particle affect will traverse towards the panels from about ten meters in front of the silo. These effects are both controlled by thee same packet.
- trigger
if positive, activate the animation; if negative or zero, disable the animation
- def Processing: Receive
- def SkipPanelAnimation(source: ActorRef, trigger: Float): Unit
Update the charge level and decide if the silo is full.
Update the charge level and decide if the silo is full. Announce that full-ness to the NTU source. Although called "Skip", an animation that broadcasts the transfer process should be ongoing at the moment.
- def StopNtuBehavior(sender: ActorRef): Unit
Reset the animation trigger and attempt the stop animation.
Reset the animation trigger and attempt the stop animation.
- Definition Classes
- ResourceSiloControl → NtuStorageBehavior
- def UpdateChargeLevel(amount: Float): Unit
- 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
- val checkBehavior: Receive
- Definition Classes
- Check
- 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])
- 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()
- var panelAnimationFunc: (ActorRef, Float) => Unit
- def postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def postStop(): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def receive: Receive
- Definition Classes
- ResourceSiloControl → Actor
- implicit final val self: ActorRef
- Definition Classes
- Actor
- final def sender(): ActorRef
- Definition Classes
- Actor
- def storageBehavior: Receive
- Definition Classes
- NtuStorageBehavior
- 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()