net.psforever.objects.serverobject.containable
ContainableBehavior
Companion object ContainableBehavior
trait ContainableBehavior extends AnyRef
A mixin for handling synchronized movement of Equipment
items into or out from Container
entities.
The most important feature of this synchronization is the movemement of equipment
out from one container into another container
without causing representation overlap, overwriting, or unintended stacking of other equipment
including equipment that has not yet been inserted.
- Self Type
- ContainableBehavior with Actor
- Source
- ContainableBehavior.scala
- Alphabetic
- By Inheritance
- ContainableBehavior
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def ContainerObject: PlanetSideServerObject with Container
- abstract def MessageDeferredCallback(msg: Any): Unit
Reaction to the initial deferrence of a message that should handle the visual aspects of not immediately addressing the message.
Reaction to the initial deferrence of a message that should handle the visual aspects of not immediately addressing the message. To be implemented.
- msg
the deferred message
- abstract def PutItemInSlotCallback(item: Equipment, slot: Int): Unit
Reaction to an item being placed into a container.
Reaction to an item being placed into a container. To be implemented.
- item
the item that was removed
- slot
the slot from which is was removed
- abstract def RemoveItemFromSlotCallback(item: Equipment, slot: Int): Unit
Reaction to an item being removed a container.
Reaction to an item being removed a container. To be implemented.
- item
the item that was removed
- slot
the slot from which is was removed
- abstract def SwapItemCallback(item: Equipment, fromSlot: Int): Unit
Reaction to the existence of a swap item being produced from a container into the environment.
Reaction to the existence of a swap item being produced from a container into the environment. To be implemented.
- item
the item that was removed
- fromSlot
the slot from where the item was removed (where it previous was)
Concrete 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 ContainableMoveItem(destination: PlanetSideServerObject with Container, equipment: Equipment, destSlot: Int, msg: Any): Unit
- Attributes
- protected
- def RepeatMessageLater(msg: Any): Unit
Defer a message until later.
Defer a message until later.
- msg
the message to defer
- See also
ContainableBehavior.Defer
DeferrableMsg
- def Reset(): Unit
Stop blocking messages.
- def Resume(): Unit
Decrement the flag for blocking messages.
- def Wait(): Unit
Increment the flag for blocking messages.
- 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 val containerBehavior: (ContainableBehavior.this)#Receive
- 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()
- 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()