Trait/Object

net.psforever.objects.serverobject.turret

WeaponTurret

Related Docs: object WeaponTurret | package turret

Permalink

trait WeaponTurret extends FactionAffinity with Mountable with MountedWeapons with Container

Self Type
WeaponTurret with PlanetSideGameObject
Source
WeaponTurret.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WeaponTurret
  2. Container
  3. MountedWeapons
  4. Mountable
  5. FactionAffinity
  6. AnyRef
  7. 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

Abstract Value Members

  1. abstract def Actor: ActorRef

    Permalink

    A reference to an Actor that governs the logic of the object to accept Mountable messages.

    A reference to an Actor that governs the logic of the object to accept Mountable messages. Specifically, the Actor should intercept the logic of MountableControl.

    returns

    the internal ActorRef

    Definition Classes
    Mountable
    See also

    PlanetSideServerObject.Actor

    MountableControl

  2. abstract def Definition: TurretDefinition

    Permalink
  3. abstract def Faction: types.PlanetSideEmpire.Value

    Permalink
    Definition Classes
    FactionAffinity
  4. abstract def MaxHealth: Int

    Permalink
  5. abstract 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
    WeaponTurretMountable

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

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

  7. def ControlledWeapon(wepNumber: Int): Option[Equipment]

    Permalink
    Definition Classes
    WeaponTurretMountedWeapons
  8. def Faction_=(fac: types.PlanetSideEmpire.Value): types.PlanetSideEmpire.Value

    Permalink
    Definition Classes
    FactionAffinity
  9. 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
  10. 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
  11. def Fit(tile: InventoryTile): Option[Int]

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

    Permalink
    Definition Classes
    Container
  13. 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
  14. def Health: Int

    Permalink
  15. def Health_=(toHealth: Int): Int

    Permalink
  16. 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

  17. def Jammered: Boolean

    Permalink
  18. def Jammered_=(jamState: Boolean): Boolean

    Permalink
  19. 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
  20. 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
  21. 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
  22. 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

  23. 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

  24. 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
  25. def Weapons: Map[Int, EquipmentSlot]

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. 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
  39. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  43. 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
  44. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. 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
  50. def [B](y: B): (WeaponTurret, B)

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

Inherited from Container

Inherited from MountedWeapons

Inherited from Mountable

Inherited from FactionAffinity

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped