Object/Class

net.psforever.objects.zones

ZonePopulationActor

Related Docs: class ZonePopulationActor | package zones

Permalink

object ZonePopulationActor

Source
ZonePopulationActor.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZonePopulationActor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def CorpseAdd(player: Player, corpseList: ListBuffer[Player]): Boolean

    Permalink

    If the given player passes a condition check, add it to the list.

    If the given player passes a condition check, add it to the list.

    player

    a Player object

    corpseList

    a list of Player objects

    returns

    true, if the player was added to the list; false, otherwise

  5. def CorpseRemove(player: Player, corpseList: ListBuffer[Player]): Unit

    Permalink

    Remove the given player from the list.

    Remove the given player from the list.

    player

    a Player object

    corpseList

    a list of Player objects

  6. def PopulationJoin(avatar: Avatar, playerMap: TrieMap[Avatar, Option[Player]]): Boolean

    Permalink

    Add an avatar as the key of an Avatar to Player object pair in the given collection.

    Add an avatar as the key of an Avatar to Player object pair in the given collection.

    avatar

    an Avatar object

    playerMap

    the mapping of Avatar objects to Player objects

    returns

    true, if the mapping is for a new key; false, if the key already exists

  7. def PopulationLeave(avatar: Avatar, playerMap: TrieMap[Avatar, Option[Player]]): Option[Player]

    Permalink

    Remove an avatar from the key of an Avatar to Player object pair in the given collection.

    Remove an avatar from the key of an Avatar to Player object pair in the given collection. If a Player object is associated at the time, return it safely.

    avatar

    an Avatar object

    playerMap

    the mapping of Avatar objects to Player objects

    returns

    any Player object that was associated at the time the avatar was removed

  8. def PopulationRelease(avatar: Avatar, playerMap: TrieMap[Avatar, Option[Player]]): Option[Player]

    Permalink

    Disassociate a Player object from an existing Avatar object that was be its key.

    Disassociate a Player object from an existing Avatar object that was be its key.

    avatar

    an Avatar object

    playerMap

    the mapping of Avatar objects to Player objects

    returns

    any Player object that is associated at the time

  9. def PopulationSpawn(avatar: Avatar, player: Player, playerMap: TrieMap[Avatar, Option[Player]]): Option[Player]

    Permalink

    Associate a Player object as a value to an existing Avatar object that will be its key.

    Associate a Player object as a value to an existing Avatar object that will be its key. Do not overwrite players that are already associated.

    avatar

    an Avatar object

    player

    a Player object

    playerMap

    the mapping of Avatar objects to Player objects

    returns

    the Player object that is associated with the Avatar key

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def recursiveFindCorpse(iter: Iterator[Player], player: Player, index: Int = 0): Option[Int]

    Permalink

    A recursive function that finds and removes a specific player from a list of players.

    A recursive function that finds and removes a specific player from a list of players.

    iter

    an Iterator of Player objects

    player

    the target Player

    index

    the index of the discovered Player object

    returns

    the index of the Player object in the list to be removed; None, otherwise

    Annotations
    @tailrec()
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped