class TurretWeapon extends Tool
- Source
- WeaponTurret.scala
- Alphabetic
- By Inheritance
- TurretWeapon
- Tool
- JammableUnit
- FireModeSwitch
- Equipment
- FactionAffinity
- PlanetSideGameObject
- WorldEntity
- IdentifiableEntity
- Identifiable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TurretWeapon(mdef: TurretDefinition, udefs: Map[TurretUpgrade.Value, ToolDefinition], default: TurretUpgrade.Value = TurretUpgrade.None)
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 AmmoSlot: FireModeSlot
- Definition Classes
- Tool
- def AmmoSlots: List[FireModeSlot]
- Definition Classes
- Tool
- def AmmoType: equipment.Ammo.Value
- Definition Classes
- Tool
- def AmmoTypeIndex: Int
- Definition Classes
- Tool
- def AmmoTypeIndex_=(index: Int): Int
- Definition Classes
- Tool
- def Definition: ToolDefinition
- Definition Classes
- TurretWeapon → Tool → Equipment → PlanetSideGameObject
- def Destroyed: Boolean
- Definition Classes
- PlanetSideGameObject
- def Destroyed_=(state: Boolean): Boolean
- Definition Classes
- PlanetSideGameObject
- def Discharge(rounds: Option[Int] = None): Int
- Definition Classes
- Tool
- def Entity: WorldEntity
- Definition Classes
- PlanetSideGameObject
- def Entity_=(newEntity: WorldEntity): Unit
- Definition Classes
- PlanetSideGameObject
- def Faction: types.PlanetSideEmpire.Value
- Definition Classes
- Equipment → FactionAffinity
- def Faction_=(fact: types.PlanetSideEmpire.Value): types.PlanetSideEmpire.Value
- Definition Classes
- Equipment → FactionAffinity
- def FireMode: FireModeDefinition
- Definition Classes
- Tool → FireModeSwitch
- def FireModeIndex: Int
- Definition Classes
- Tool → FireModeSwitch
- def FireModeIndex_=(index: Int): Int
- Definition Classes
- Tool → FireModeSwitch
- def GUID: PlanetSideGUID
- Definition Classes
- IdentifiableEntity → Identifiable
- def GUID_=(guid: PlanetSideGUID): PlanetSideGUID
- Definition Classes
- IdentifiableEntity → Identifiable
- def GUID_=(guid: StalePlanetSideGUID): PlanetSideGUID
Always intercept
StalePlanetSideGUIDreferences when attempting to mutate the GUID value.Always intercept
StalePlanetSideGUIDreferences when attempting to mutate the GUID value.- guid
the valid GUID to assign
- returns
never returns
- Definition Classes
- IdentifiableEntity
- Exceptions thrown
`AssigningGUIDException`always
- def HasGUID: Boolean
Flag when the object has no GUID (initial condition) or is considered stale.
Flag when the object has no GUID (initial condition) or is considered stale.
- returns
whether the value of the GUID is a valid representation for this object
- Definition Classes
- IdentifiableEntity
- def Invalidate(): Unit
Indicate that the current GUID is no longer a valid representation of the object.
Indicate that the current GUID is no longer a valid representation of the object. Transforms whatever the current GUID is into a
StalePlanetSideGUIDentity with the same value. Doing this restores the object to its default mutation option ("the ability to set a new valid GUID"). The current GUID will still be accessed as if it were valid, but it will be wrapped in the new stale object.- Definition Classes
- IdentifiableEntity
- def Jammed: Boolean
- Definition Classes
- JammableUnit
- def Jammed_=(state: Boolean): Boolean
- Definition Classes
- JammableUnit
- def LastDischarge: Long
- Definition Classes
- Tool
- def Magazine: Int
- Definition Classes
- Tool
- def Magazine_=(mag: Int): Int
- Definition Classes
- Tool
- def MaxAmmoSlot: Int
- Definition Classes
- Tool
- def MaxMagazine: Int
- Definition Classes
- Tool
- def NextAmmoType: equipment.Ammo.Value
- Definition Classes
- Tool
- def NextFireMode: FireModeDefinition
- Definition Classes
- Tool → FireModeSwitch
- def Orientation: Vector3
- Definition Classes
- PlanetSideGameObject → WorldEntity
- def Orientation_=(vec: Vector3): Vector3
- Definition Classes
- PlanetSideGameObject → WorldEntity
- def Position: Vector3
- Definition Classes
- PlanetSideGameObject → WorldEntity
- def Position_=(vec: Vector3): Vector3
- Definition Classes
- PlanetSideGameObject → WorldEntity
- def Projectile: ProjectileDefinition
- Definition Classes
- Tool
- def ProjectileType: ballistics.Projectiles.Value
- Definition Classes
- Tool
- def Size: equipment.EquipmentSize.Value
- Definition Classes
- Equipment
- def Tile: InventoryTile
- Definition Classes
- Equipment
- def ToFireMode: Int
- Definition Classes
- Tool
- def ToFireMode_=(index: Int): FireModeDefinition
- Definition Classes
- Tool
- def Upgrade: TurretUpgrade.Value
- def Upgrade_=(upgrade: TurretUpgrade.Value): TurretUpgrade.Value
- def Velocity: Option[Vector3]
- Definition Classes
- PlanetSideGameObject → WorldEntity
- def Velocity_=(vec: Option[Vector3]): Option[Vector3]
- Definition Classes
- PlanetSideGameObject → WorldEntity
- def Velocity_=(vec: Vector3): Option[Vector3]
- Definition Classes
- WorldEntity
- 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
- def isMoving(test: Float): Boolean
This object is not considered moving unless it is moving at least as fast as a certain velocity.
This object is not considered moving unless it is moving at least as fast as a certain velocity.
- test
the (squared) velocity to test against
- returns
true, if we are moving;false, otherwise
- Definition Classes
- WorldEntity
- def isMoving(test: Vector3): Boolean
This object is not considered moving unless it is moving at least as fast as a certain velocity.
This object is not considered moving unless it is moving at least as fast as a certain velocity.
- test
the velocity to test against
- returns
true, if we are moving;false, otherwise
- Definition Classes
- WorldEntity
- def isMoving: Boolean
A velocity of non-zero is the same as moving.
A velocity of non-zero is the same as moving.
- returns
true, if we are moving;false, otherwise
- Definition Classes
- WorldEntity
- var lastDischarge: Long
- Definition Classes
- Tool
- 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
- 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()