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
playerpasses a condition check, add it to the list.If the given
playerpasses a condition check, add it to the list.- player
a
Playerobject- corpseList
a list of
Playerobjects- returns
true, if the
playerwas added to the list; false, otherwise
- def CorpseRemove(player: Player, corpseList: ListBuffer[Player]): Boolean
Remove the given
playerfrom the list.Remove the given
playerfrom the list.- player
a
Playerobject- corpseList
a list of
Playerobjects
- 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
avataras the key of anAvatartoPlayerobject pair in the given collection.Add an
avataras the key of anAvatartoPlayerobject pair in the given collection.- id
an
Avatarid- playerMap
the mapping of
Avatarobjects toPlayerobjects- 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
avatarfrom the key of anAvatartoPlayerobject pair in the given collection.Remove an
avatarfrom the key of anAvatartoPlayerobject pair in the given collection. If aPlayerobject is associated at the time, return it safely.- id
an
Avatarid- playerMap
the mapping of
Avatarobjects toPlayerobjects- returns
any
Playerobject that was associated at the time theavatarwas removed
- def PopulationRelease(id: Int, playerMap: TrieMap[Int, Option[Player]]): Option[Player]
Disassociate a
Playerobject from an existingAvatarobject that was be its key.Disassociate a
Playerobject from an existingAvatarobject that was be its key.- id
an
Avatarid- playerMap
the mapping of
Avatarobjects toPlayerobjects- returns
any
Playerobject that is associated at the time
- def PopulationSpawn(id: Int, player: Player, playerMap: TrieMap[Int, Option[Player]]): Option[(Player, Boolean)]
Associate a
Playerobject as a value to an existingAvatarobject that will be its key.Associate a
Playerobject as a value to an existingAvatarobject that will be its key. Do not overwrite players that are already associated.- id
an
Avatarobject- player
a
Playerobject- playerMap
the mapping of
Avatarobjects toPlayerobjects- returns
a
Tupleobject of thePlayerobject that is associated with theAvatarkey 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()