Class/Object

net.psforever.packet.game

BuildingInfoUpdateMessage

Related Docs: object BuildingInfoUpdateMessage | package game

Permalink

final case class BuildingInfoUpdateMessage(continent_id: Int, building_map_id: Int, ntu_level: Int, is_hacked: Boolean, empire_hack: types.PlanetSideEmpire.Value, hack_time_remaining: Long, empire_own: types.PlanetSideEmpire.Value, unk1: Long, unk1x: Option[Additional1], generator_state: PlanetSideGeneratorState.Value, spawn_tubes_normal: Boolean, force_dome_active: Boolean, lattice_benefit: Int, cavern_benefit: Int, unk4: List[Additional2], unk5: Long, unk6: Boolean, unk7: Int, unk7x: Option[Additional3], boost_spawn_pain: Boolean, boost_generator_pain: Boolean) extends PlanetSideGamePacket with Product with Serializable

Update the state of map asset for a client's specific building's state. The most common application of this packet is to synchronize map state during world login.

A "building" mainly constitutes any map-viewable structure that has properties or whose ownership can be asserted. This packet is valid for all major facilities, field towers, warp gates, and some static environment elements. Additional properties, if available, can be viewed by selecting the sphere of influence of a given building. The combination of continent UID and building UID ensures that all buildings are uniquely-defined. This packet can be applied on any continent and will affect the appropriate building on any other continent. As the intercontinental map is always available, all map assets will publish real time updates to all players. Map information configured by this packet is not obscured from any players, regardless of faction. (Network state updates will be delayed for, and the type of compromise will not be specified to, defenders.)

Aside from the map-viewable aspects, a few properties set by this packet also have game world effects. Additionally, though most parameters are treated as mandatory, not all buildings will be able to use those parameters. A parameter that is not applicable for a given asset, e.g., NTU for a field tower, will be ignored. A collision between some parameters can occur. For example, if is_hacking is false, the other hacking fields are considered invalid. If is_hacking is true but the hacking empire is also the owning empire, the is_hacking state is invalid.

Lattice benefits: (stackable)
00 - None
01 - Amp Station
02 - Dropship Center
04 - Bio Laboratory
08 - Interlink Facility
16 - Technology Plant

Cavern benefits: (stackable)
000 - None
004 - Speed Module
008 - Shield Module
016 - Vehicle Module
032 - Equipment Module
064 - Health Module
128 - Pain Module

continent_id

the continent (zone)

building_map_id

the map id of this building from the MPO files

ntu_level

if the building has a silo, the amount of NTU in that silo; NTU is reported in multiples of 10%; valid for 0 (0%) to 10 (100%)

is_hacked

if the building can be hacked and will take time to convert, whether the building is being hacked

empire_hack

if the building is being hacked, the empire that is performing the hacking

hack_time_remaining

if the building is being hacked, the amount of time remaining until the hack finishes/clears; recorded in milliseconds (ms)

empire_own

the empire that owns the building currently

unk1

na; value != 0 causes the next field to be defined

unk1x

na

generator_state

if the building has a generator, the state of the generator

spawn_tubes_normal

if the building has spawn tubes, whether at least one of the tubes is powered and operational

force_dome_active

if the building is a capitol facility, whether the force dome is active

lattice_benefit

the benefits from other Lattice-linked bases does this building possess

cavern_benefit

cavern benefits; any non-zero value will cause the cavern module icon (yellow) to appear; proper module values cause the cavern module icon to render green; all benefits will report as due to a "Cavern Lock"

unk4

na

unk5

na

unk6

na

unk7

na; value != 8 causes the next field to be defined

unk7x

na

boost_spawn_pain

if the building has spawn tubes, the (boosted) strength of its enemy pain field

boost_generator_pain

if the building has a generator, the (boosted) strength of its enemy pain field

Source
BuildingInfoUpdateMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildingInfoUpdateMessage
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. Serializable
  8. AnyRef
  9. 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 BuildingInfoUpdateMessage(continent_id: Int, building_map_id: Int, ntu_level: Int, is_hacked: Boolean, empire_hack: types.PlanetSideEmpire.Value, hack_time_remaining: Long, empire_own: types.PlanetSideEmpire.Value, unk1: Long, unk1x: Option[Additional1], generator_state: PlanetSideGeneratorState.Value, spawn_tubes_normal: Boolean, force_dome_active: Boolean, lattice_benefit: Int, cavern_benefit: Int, unk4: List[Additional2], unk5: Long, unk6: Boolean, unk7: Int, unk7x: Option[Additional3], boost_spawn_pain: Boolean, boost_generator_pain: Boolean)

    Permalink

    continent_id

    the continent (zone)

    building_map_id

    the map id of this building from the MPO files

    ntu_level

    if the building has a silo, the amount of NTU in that silo; NTU is reported in multiples of 10%; valid for 0 (0%) to 10 (100%)

    is_hacked

    if the building can be hacked and will take time to convert, whether the building is being hacked

    empire_hack

    if the building is being hacked, the empire that is performing the hacking

    hack_time_remaining

    if the building is being hacked, the amount of time remaining until the hack finishes/clears; recorded in milliseconds (ms)

    empire_own

    the empire that owns the building currently

    unk1

    na; value != 0 causes the next field to be defined

    unk1x

    na

    generator_state

    if the building has a generator, the state of the generator

    spawn_tubes_normal

    if the building has spawn tubes, whether at least one of the tubes is powered and operational

    force_dome_active

    if the building is a capitol facility, whether the force dome is active

    lattice_benefit

    the benefits from other Lattice-linked bases does this building possess

    cavern_benefit

    cavern benefits; any non-zero value will cause the cavern module icon (yellow) to appear; proper module values cause the cavern module icon to render green; all benefits will report as due to a "Cavern Lock"

    unk4

    na

    unk5

    na

    unk6

    na

    unk7

    na; value != 8 causes the next field to be defined

    unk7x

    na

    boost_spawn_pain

    if the building has spawn tubes, the (boosted) strength of its enemy pain field

    boost_generator_pain

    if the building has a generator, the (boosted) strength of its enemy pain field

Type Members

  1. type Packet = BuildingInfoUpdateMessage

    Permalink

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 BuildingInfoUpdateMessage to any2stringadd[BuildingInfoUpdateMessage] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BuildingInfoUpdateMessage, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val boost_generator_pain: Boolean

    Permalink

    if the building has a generator, the (boosted) strength of its enemy pain field

  8. val boost_spawn_pain: Boolean

    Permalink

    if the building has spawn tubes, the (boosted) strength of its enemy pain field

  9. val building_map_id: Int

    Permalink

    the map id of this building from the MPO files

  10. val cavern_benefit: Int

    Permalink

    cavern benefits; any non-zero value will cause the cavern module icon (yellow) to appear; proper module values cause the cavern module icon to render green; all benefits will report as due to a "Cavern Lock"

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val continent_id: Int

    Permalink

    the continent (zone)

  13. val empire_hack: types.PlanetSideEmpire.Value

    Permalink

    if the building is being hacked, the empire that is performing the hacking

  14. val empire_own: types.PlanetSideEmpire.Value

    Permalink

    the empire that owns the building currently

  15. def encode: Attempt[BitVector]

    Permalink
  16. def ensuring(cond: (BuildingInfoUpdateMessage) ⇒ Boolean, msg: ⇒ Any): BuildingInfoUpdateMessage

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. val force_dome_active: Boolean

    Permalink

    if the building is a capitol facility, whether the force dome is active

  23. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BuildingInfoUpdateMessage to StringFormat[BuildingInfoUpdateMessage] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. val generator_state: PlanetSideGeneratorState.Value

    Permalink

    if the building has a generator, the state of the generator

  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. val hack_time_remaining: Long

    Permalink

    if the building is being hacked, the amount of time remaining until the hack finishes/clears; recorded in milliseconds (ms)

  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val is_hacked: Boolean

    Permalink

    if the building can be hacked and will take time to convert, whether the building is being hacked

  29. val lattice_benefit: Int

    Permalink

    the benefits from other Lattice-linked bases does this building possess

  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val ntu_level: Int

    Permalink

    if the building has a silo, the amount of NTU in that silo; NTU is reported in multiples of 10%; valid for 0 (0%) to 10 (100%)

  34. def opcode: GamePacketOpcode.Value

    Permalink
  35. val spawn_tubes_normal: Boolean

    Permalink

    if the building has spawn tubes, whether at least one of the tubes is powered and operational

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. val unk1: Long

    Permalink

    na; value != 0 causes the next field to be defined

  38. val unk1x: Option[Additional1]

    Permalink

    na

  39. val unk4: List[Additional2]

    Permalink

    na

  40. val unk5: Long

    Permalink

    na

  41. val unk6: Boolean

    Permalink

    na

  42. val unk7: Int

    Permalink

    na; value != 8 causes the next field to be defined

  43. val unk7x: Option[Additional3]

    Permalink

    na

  44. final def wait(): Unit

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

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

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

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

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped