Class/Object

net.psforever.objects.serverobject.turret

FacilityTurret

Related Docs: object FacilityTurret | package turret

Permalink

class FacilityTurret extends Amenity with WeaponTurret with Vitality with StandardResistanceProfile

Source
FacilityTurret.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FacilityTurret
  2. StandardResistanceProfile
  3. ResistanceProfile
  4. Vitality
  5. WeaponTurret
  6. Container
  7. MountedWeapons
  8. Mountable
  9. Amenity
  10. PlanetSideServerObject
  11. ZoneAware
  12. FactionAffinity
  13. PlanetSideGameObject
  14. WorldEntity
  15. IdentifiableEntity
  16. Identifiable
  17. AnyRef
  18. 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 FacilityTurret(tDef: TurretDefinition)

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FacilityTurret to ArrowAssoc[FacilityTurret] 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 Actor: ActorRef

    Permalink

    Retrieve a reference to the internal Actor.

    Retrieve a reference to the internal Actor.

    returns

    the internal ActorRef

    Definition Classes
    PlanetSideServerObject
  7. def Actor_=(control: ActorRef): ActorRef

    Permalink

    Assign an Actor to act for this server object.

    Assign an Actor to act for this server object. This reference is only set once, that is, as long as the internal ActorRef directs to Actor.noSender (null).

    control

    the Actor whose functionality will govern this server object

    returns

    the current internal ActorRef

    Definition Classes
    PlanetSideServerObject
  8. def ClearHistory(): List[VitalsActivity]

    Permalink
    Definition Classes
    Vitality
  9. def Collisions(index: Int, width: Int, height: Int): Try[List[InventoryItem]]

    Permalink

    Given a region of "searchable unit positions" considered as stowable, determine if any previously stowed items are contained within that region.

    Default usage, and recommended the continued inclusion of that use, is defined in terms of Equipment being stowed in a GridInventory.

    Given a region of "searchable unit positions" considered as stowable, determine if any previously stowed items are contained within that region.

    Default usage, and recommended the continued inclusion of that use, is defined in terms of Equipment being stowed in a GridInventory. Where the Equipment object is defined by the dimensions width and height, starting a search at index will search all positions within a grid-like range of numbers. Under certain searching conditions, this range may be meaningless, such as is the case when searching individual positions that are normal EquipmentSlot objects. Regardless, the value collected indicates the potential of multiple objects being discovered and maintains a reference to the object itself and the slot position where the object is located. (As any object can be discovered within the range, that is important.)

    index

    the position to start searching

    width

    the width of the searchable space

    height

    the height of the serachable space

    returns

    a list of objects that have been encountered within the searchable space

    Definition Classes
    Container
    See also

    GridInventory.CheckCollisionsVar

  10. def ConfirmUpgrade(upgrade: TurretUpgrade.Value): TurretUpgrade.Value

    Permalink
  11. def Continent: String

    Permalink
    Definition Classes
    AmenityPlanetSideServerObjectZoneAware
  12. def Continent_=(zone: String): String

    Permalink
    Definition Classes
    PlanetSideServerObjectZoneAware
  13. def ControlledWeapon(wepNumber: Int): Option[Equipment]

    Permalink
    Definition Classes
    WeaponTurretMountedWeapons
  14. def DamageModel: DamageResistanceModel

    Permalink
    Definition Classes
    FacilityTurretVitality
  15. def Definition: TurretDefinition

    Permalink
  16. def Entity: WorldEntity

    Permalink
    Definition Classes
    PlanetSideGameObject
  17. def Entity_=(newEntity: WorldEntity): Unit

    Permalink
    Definition Classes
    PlanetSideGameObject
  18. def Faction: types.PlanetSideEmpire.Value

    Permalink
    Definition Classes
    AmenityFactionAffinity
  19. def Faction_=(fac: types.PlanetSideEmpire.Value): types.PlanetSideEmpire.Value

    Permalink
    Definition Classes
    FactionAffinity
  20. def Find(guid: PlanetSideGUID): Option[Int]

    Permalink

    Given globally unique identifier, if the object using it is stowed, attempt to locate its slot.

    Given globally unique identifier, if the object using it is stowed, attempt to locate its slot. All positions, VisibleSlot and Inventory, and wherever else, should be searchable.

    guid

    the GUID of the Equipment

    returns

    the index of the EquipmentSlot, or None

    Definition Classes
    Container
  21. def Find(obj: Equipment): Option[Int]

    Permalink

    Given an object, attempt to locate its slot.

    Given an object, attempt to locate its slot. All positions, VisibleSlot and Inventory, and wherever else, should be searchable.

    obj

    the Equipment object

    returns

    the index of the EquipmentSlot, or None

    Definition Classes
    Container
  22. def Fit(tile: InventoryTile): Option[Int]

    Permalink
    Definition Classes
    Container
  23. def Fit(obj: Equipment): Option[Int]

    Permalink
    Definition Classes
    Container
  24. def GUID: PlanetSideGUID

    Permalink
    Definition Classes
    IdentifiableEntityIdentifiable
  25. def GUID_=(guid: PlanetSideGUID): PlanetSideGUID

    Permalink
    Definition Classes
    IdentifiableEntityIdentifiable
  26. def GetSeatFromMountPoint(mountPoint: Int): Option[Int]

    Permalink

    Given the index of an entry mounting point, return the infantry-accessible Seat associated with it.

    Given the index of an entry mounting point, return the infantry-accessible Seat associated with it.

    mountPoint

    an index representing the seat position / mounting point

    returns

    a seat number, or None

    Definition Classes
    WeaponTurretMountable
  27. def HasGUID: Boolean

    Permalink
    Definition Classes
    IdentifiableEntity
  28. def Health: Int

    Permalink
    Definition Classes
    WeaponTurret
  29. def Health_=(toHealth: Int): Int

    Permalink
    Definition Classes
    FacilityTurretWeaponTurret
  30. def History(projectile: ResolvedProjectile): List[VitalsActivity]

    Permalink

    Very common example of a VitalsActivity event involving weapon discharge.

    Very common example of a VitalsActivity event involving weapon discharge.

    projectile

    the fully-informed entry of discharge of a weapon

    returns

    the list of previous changes to this object's vital statistics

    Definition Classes
    Vitality
  31. def History(action: VitalsActivity): List[VitalsActivity]

    Permalink

    A VitalsActivity event must be recorded.

    A VitalsActivity event must be recorded. Add new entry to the front of the list (for recent activity).

    action

    the fully-informed entry

    returns

    the list of previous changes to this object's vital statistics

    Definition Classes
    Vitality
  32. def History: List[VitalsActivity]

    Permalink
    Definition Classes
    Vitality
  33. def Invalidate(): Unit

    Permalink
    Definition Classes
    IdentifiableEntity
  34. def Inventory: GridInventory

    Permalink

    A(n imperfect) reference to a generalized pool of the contained objects.

    A(n imperfect) reference to a generalized pool of the contained objects. Having access to all of the available positions is not required. The entries in this reference should definitely include all unseen positions. The GridInventory returned by this accessor is also an implementation of Container.

    Definition Classes
    WeaponTurretContainer
    See also

    VisibleSlots

  35. def Jammered: Boolean

    Permalink
    Definition Classes
    WeaponTurret
  36. def Jammered_=(jamState: Boolean): Boolean

    Permalink
    Definition Classes
    WeaponTurret
  37. def LastShot: Option[ResolvedProjectile]

    Permalink

    Find, specifically, the last instance of a weapon discharge vital statistics change.

    Find, specifically, the last instance of a weapon discharge vital statistics change.

    returns

    information about the discharge

    Definition Classes
    Vitality
  38. def LocationOffset: Vector3

    Permalink
    Definition Classes
    Amenity
  39. def LocationOffset_=(off: Option[Vector3]): Vector3

    Permalink
    Definition Classes
    Amenity
  40. def LocationOffset_=(off: Vector3): Vector3

    Permalink
    Definition Classes
    Amenity
  41. def MaxHealth: Int

    Permalink
    Definition Classes
    FacilityTurretWeaponTurret
  42. def MountPoints: Map[Int, Int]

    Permalink

    Retrieve a mapping of each seat from its mount point index.

    Retrieve a mapping of each seat from its mount point index.

    returns

    the mapping of mount point to seat

    Definition Classes
    FacilityTurretWeaponTurretMountable
  43. def Orientation: Vector3

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  44. def Orientation_=(vec: Vector3): Vector3

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  45. def Owner: PlanetSideServerObject

    Permalink

    Reference the object that is in direct association with (is superior to) this one.

    Reference the object that is in direct association with (is superior to) this one.

    returns

    the object associated as this object's "owner"

    Definition Classes
    Amenity
  46. def Owner_=[T](obj: T)(implicit arg0: AmenityTarget[T]): PlanetSideServerObject

    Permalink

    Set an object to have a direct association with (be superior to) this one.

    Set an object to have a direct association with (be superior to) this one.

    T

    a validation of the type of object that can be an owner

    obj

    the object trying to become associated as this object's "owner"

    returns

    the object associated as this object's "owner"

    Definition Classes
    Amenity
    See also

    Amenity.AmenityTarget

  47. def PassengerInSeat(user: Player): Option[Int]

    Permalink

    Given a player, determine if that player is seated.

    Given a player, determine if that player is seated.

    user

    the player

    returns

    the seat index

    Definition Classes
    WeaponTurretMountable
  48. def Position: Vector3

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  49. def Position_=(vec: Vector3): Vector3

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  50. def RadiationShielding: Float

    Permalink
  51. def Resist(dtype: vital.DamageType.Value): Float

    Permalink
    Definition Classes
    ResistanceProfile
  52. def ResistanceAggravated: Int

    Permalink
  53. def ResistanceDirectHit: Int

    Permalink
  54. def ResistanceSplash: Int

    Permalink
  55. def Seat(seatNum: Int): Option[Seat]

    Permalink

    Given a seat's index position, retrieve the internal Seat object.

    Given a seat's index position, retrieve the internal Seat object.

    returns

    the specific seat

    Definition Classes
    WeaponTurretMountable
  56. def Seats: Map[Int, Seat]

    Permalink

    Retrieve a mapping of each seat from its internal index.

    Retrieve a mapping of each seat from its internal index.

    returns

    the mapping of index to seat

    Definition Classes
    WeaponTurretMountable
  57. def Slot(slotNum: Int): EquipmentSlot

    Permalink

    Access to all stowable positions on this object by index.

    All positions, VisibleSlot and Inventory, and wherever else, should be reachable.

    Access to all stowable positions on this object by index.

    All positions, VisibleSlot and Inventory, and wherever else, should be reachable. Regardless of the internal storage medium, the format of return is expected to be the same structure of object as the most basic storage component for Equipment, namely, EquipmentSlot objects. By default, it is expected to return an EquipmentSlot that can not be manipulated because it is Blocked.

    slotNum

    an index

    returns

    the searchable position identified by that index

    Definition Classes
    Container
    See also

    OffhandEquipmentSlot

  58. def Subtract: DamageProfile

    Permalink
  59. def Upgrade: TurretUpgrade.Value

    Permalink
  60. def Upgrade_=(upgrade: TurretUpgrade.Value): TurretUpgrade.Value

    Permalink
  61. def Velocity: Option[Vector3]

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  62. def Velocity_=(vec: Option[Vector3]): Option[Vector3]

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  63. def Velocity_=(vec: Vector3): Option[Vector3]

    Permalink
    Definition Classes
    WorldEntity
  64. def VisibleSlots: Set[Int]

    Permalink

    A(n imperfect) reference to a generalized pool of the contained objects.

    Having access to all of the available positions is not required.

    A(n imperfect) reference to a generalized pool of the contained objects.

    Having access to all of the available positions is not required. Only the positions that can be actively viewed by other clients are listed.

    returns

    all of the affected slot indices

    Definition Classes
    WeaponTurretContainer
    See also

    Inventory

  65. def WeaponControlledFromSeat(seatNumber: Int): Option[Equipment]

    Permalink

    Given a valid seat number, retrieve an index where the weapon controlled from this seat is mounted.

    Given a valid seat number, retrieve an index where the weapon controlled from this seat is mounted.

    seatNumber

    the seat number

    returns

    a mounted weapon by index, or None if either the seat doesn't exist or there is no controlled weapon

    Definition Classes
    MountedWeapons
  66. def Weapons: Map[Int, EquipmentSlot]

    Permalink
    Definition Classes
    WeaponTurretMountedWeapons
  67. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  79. val inventory: GridInventory

    Permalink

    may or may not have inaccessible inventory space see ReserveAmmunition in the definition

    may or may not have inaccessible inventory space see ReserveAmmunition in the definition

    Attributes
    protected
    Definition Classes
    WeaponTurret
  80. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  81. def isUpgrading: Boolean

    Permalink
  82. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  85. val seats: Map[Int, Seat]

    Permalink

    manned turrets have just one seat; this is just standard interface

    manned turrets have just one seat; this is just standard interface

    Attributes
    protected
    Definition Classes
    WeaponTurret
  86. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. var weapons: Map[Int, EquipmentSlot]

    Permalink

    turrets have just one weapon; this is just standard interface

    turrets have just one weapon; this is just standard interface

    Attributes
    protected
    Definition Classes
    WeaponTurret
  92. def [B](y: B): (FacilityTurret, B)

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

Inherited from StandardResistanceProfile

Inherited from ResistanceProfile

Inherited from Vitality

Inherited from WeaponTurret

Inherited from Container

Inherited from MountedWeapons

Inherited from Mountable

Inherited from Amenity

Inherited from PlanetSideServerObject

Inherited from ZoneAware

Inherited from FactionAffinity

Inherited from PlanetSideGameObject

Inherited from WorldEntity

Inherited from IdentifiableEntity

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped