Class

net.psforever.objects.zones

ZoneMap

Related Doc: package zones

Permalink

class ZoneMap extends AnyRef

The fixed instantiation and relation of a series of server objects.

Asides from a List of server objects to be built, the operation between any server objects and the connected functionality emerging from more complex data structures is codified by this object. In the former case, all Terminal server objects for a Zone are to be defined herein. In the latter case, the arrangement of server objects into groups called facilities is also to be defined herein. Much like a BasicDefinition to an object, ZoneMap should not maintain mutable information for the companion Zone. Use it as a blueprint.

The "training zones" are the best example of the difference between a ZoneMap and a Zone. ("Course" will be used as an unofficial location and layout descriptor.) tzdrtr is the Terran Republic driving course. tzdrvs is the Vanu Sovereignty driving course. While each course can have different objects and object states, i.e., a Zone, both of these courses utilize the same basic server object layout because they are built from the same blueprint, i.e., a ZoneMap.

Source
ZoneMap.scala
See also

ServerObjectBuilder
LoadMapMessage

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZoneMap
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZoneMap(name: String)

    Permalink

    name

    the privileged name that can be used as the first parameter in the packet LoadMapMessage

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to any2stringadd[ZoneMap] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ZoneMap, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to ArrowAssoc[ZoneMap] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def Checksum: Long

    Permalink
  7. def Checksum_=(value: Long): Long

    Permalink
  8. def DoorToLock(door_guid: Int, lock_guid: Int): Unit

    Permalink
  9. def DoorToLock: Map[Int, Int]

    Permalink
  10. def LocalBuilding(building_guid: Int, map_id: Int, constructor: FoundationBuilder): Int

    Permalink
  11. def LocalBuildings: Map[(Int, Int), FoundationBuilder]

    Permalink
  12. def LocalObject[A <: PlanetSideServerObject](id: Int, constructor: ConstructorType[A], owning_building_guid: Int = 0, door_guid: Int = 0, terminal_guid: Int = 0): Int

    Permalink

    Append the builder for a server object to the list of builders known to this ZoneMap.

    Append the builder for a server object to the list of builders known to this ZoneMap.

    id

    the unique id that will be assigned to this entity

    constructor

    the logic that initializes the emitted entity

    owning_building_guid

    The guid of the building this object should belong to, if specified

    door_guid

    The guid of the door this object (typically a lock) should be linked to, if specified

    terminal_guid

    The guid of the terminal this object (typically a spawn pad) should be linked to, if specified

    returns

    the current number of builders

  13. def LocalObjects: List[ServerObjectBuilder[_]]

    Permalink

    The list of all server object builder wrappers that have been assigned to this ZoneMap.

    The list of all server object builder wrappers that have been assigned to this ZoneMap.

    returns

    the List of all ServerObjectBuilders known to this ZoneMap

  14. def Name: String

    Permalink
  15. def ObjectToBuilding(object_guid: Int, building_id: Int): Unit

    Permalink
  16. def ObjectToBuilding: Map[Int, Int]

    Permalink
  17. def Scale: MapScale

    Permalink
  18. def Scale_=(dim: MapScale): MapScale

    Permalink
  19. def TerminalToInterface(interface_guid: Int, terminal_guid: Int): Unit

    Permalink
  20. def TerminalToInterface: Map[Int, Int]

    Permalink
  21. def TerminalToSpawnPad(terminal_guid: Int, pad_guid: Int): Unit

    Permalink
  22. def TerminalToSpawnPad: Map[Int, Int]

    Permalink
  23. def TurretToWeapon(turret_guid: Int, weapon_guid: Int): Unit

    Permalink
  24. def TurretToWeapon: Map[Int, Int]

    Permalink
  25. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def ensuring(cond: (ZoneMap) ⇒ Boolean, msg: ⇒ Any): ZoneMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to Ensuring[ZoneMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (ZoneMap) ⇒ Boolean): ZoneMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to Ensuring[ZoneMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean, msg: ⇒ Any): ZoneMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to Ensuring[ZoneMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): ZoneMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to Ensuring[ZoneMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to StringFormat[ZoneMap] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  35. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  41. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (ZoneMap, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZoneMap to ArrowAssoc[ZoneMap] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ZoneMap to any2stringadd[ZoneMap]

Inherited by implicit conversion StringFormat from ZoneMap to StringFormat[ZoneMap]

Inherited by implicit conversion Ensuring from ZoneMap to Ensuring[ZoneMap]

Inherited by implicit conversion ArrowAssoc from ZoneMap to ArrowAssoc[ZoneMap]

Ungrouped