object ZonePopulationActor
- Alphabetic
- By Inheritance
- ZonePopulationActor
- 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 CorpseAdd(player: Player, corpseList: ListBuffer[Player]): Boolean
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
- def CorpseRemove(player: Player, corpseList: ListBuffer[Player]): Boolean
Remove the given
player
from the list.Remove the given
player
from the list.- player
a
Player
object- corpseList
a list of
Player
objects
- def GetPlayerControlName(player: Player, old: Option[ActorRef]): String
- def PlayerLeave(player: Player): Unit
- def PopulationJoin(id: Int, playerMap: TrieMap[Int, Option[Player]]): Boolean
Add an
avatar
as the key of anAvatar
toPlayer
object pair in the given collection.Add an
avatar
as the key of anAvatar
toPlayer
object pair in the given collection.- id
an
Avatar
id- playerMap
the mapping of
Avatar
objects toPlayer
objects- returns
true, if the mapping is for a new key; false, if the key already exists
- def PopulationLeave(id: Int, playerMap: TrieMap[Int, Option[Player]]): Option[Player]
Remove an
avatar
from the key of anAvatar
toPlayer
object pair in the given collection.Remove an
avatar
from the key of anAvatar
toPlayer
object pair in the given collection. If aPlayer
object is associated at the time, return it safely.- id
an
Avatar
id- playerMap
the mapping of
Avatar
objects toPlayer
objects- returns
any
Player
object that was associated at the time theavatar
was removed
- def PopulationRelease(id: Int, playerMap: TrieMap[Int, Option[Player]]): Option[Player]
Disassociate a
Player
object from an existingAvatar
object that was be its key.Disassociate a
Player
object from an existingAvatar
object that was be its key.- id
an
Avatar
id- playerMap
the mapping of
Avatar
objects toPlayer
objects- returns
any
Player
object that is associated at the time
- def PopulationSpawn(id: Int, player: Player, playerMap: TrieMap[Int, Option[Player]]): Option[(Player, Boolean)]
Associate a
Player
object as a value to an existingAvatar
object that will be its key.Associate a
Player
object as a value to an existingAvatar
object that will be its key. Do not overwrite players that are already associated.- id
an
Avatar
object- player
a
Player
object- playerMap
the mapping of
Avatar
objects toPlayer
objects- returns
a
Tuple
object of thePlayer
object that is associated with theAvatar
key and whether that player was added to the zone for the first time;None
, if the player should not be introduced to this zone at this time
- 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()
- 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()