Class/Object

net.psforever.objects.serverobject.locks

IFFLock

Related Docs: object IFFLock | package locks

Permalink

class IFFLock extends Amenity with Hackable

A structure-owned server object that is a "door lock."

The "door lock" exerts an "identify friend or foe" field that detects the faction affiliation of a target player. It also indirectly inherits faction affiliation from the structure to which it is connected or it can be "hacked" whereupon the person exploiting it leaves their "faction" as the aforementioned affiliated faction. The IFFLock is ideally associated with a server map object - a Door - to which it acts as a gatekeeper.

Source
IFFLock.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IFFLock
  2. Hackable
  3. Amenity
  4. PlanetSideServerObject
  5. ZoneAware
  6. FactionAffinity
  7. PlanetSideGameObject
  8. WorldEntity
  9. IdentifiableEntity
  10. Identifiable
  11. AnyRef
  12. 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 IFFLock(idef: IFFLockDefinition)

    Permalink

    idef

    the ObjectDefinition that constructs this object and maintains some of its immutable fields

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

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

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

    Permalink
    Definition Classes
    PlanetSideServerObjectZoneAware
  10. def Definition: IFFLockDefinition

    Permalink
    Definition Classes
    IFFLockPlanetSideGameObject
  11. def Entity: WorldEntity

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

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

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

    Permalink
    Definition Classes
    FactionAffinity
  15. def GUID: PlanetSideGUID

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

    Permalink
    Definition Classes
    IdentifiableEntityIdentifiable
  17. def HackDuration: Array[Int]

    Permalink
    Definition Classes
    Hackable
  18. def HackDuration_=(arr: Array[Int]): Array[Int]

    Permalink
    Definition Classes
    Hackable
  19. def HackEffectDuration: Array[Int]

    Permalink
    Definition Classes
    Hackable
  20. def HackEffectDuration_=(arr: Array[Int]): Array[Int]

    Permalink
    Definition Classes
    Hackable
  21. def HackSound: packet.game.TriggeredSound.Value

    Permalink
    Definition Classes
    Hackable
  22. def HackSound_=(sound: packet.game.TriggeredSound.Value): packet.game.TriggeredSound.Value

    Permalink
    Definition Classes
    Hackable
  23. def HackedBy: Option[HackInfo]

    Permalink
    Definition Classes
    Hackable
  24. def HackedBy_=(hackInfo: HackInfo): Option[HackInfo]

    Permalink
    Definition Classes
    Hackable
  25. def HackedBy_=(agent: Option[Player]): Option[HackInfo]

    Permalink

    Set the hack state of this object by recording important information about the player who caused it.

    Set the hack state of this object by recording important information about the player who caused it. Set the hack state if there is no current hack state. Override the hack state with a new hack state if the new user has different faction affiliation.

    agent

    a Player, or no player

    returns

    the player hack entry

    Definition Classes
    Hackable
  26. def HackedBy_=(agent: Player): Option[HackInfo]

    Permalink
    Definition Classes
    Hackable
  27. def HasGUID: Boolean

    Permalink
    Definition Classes
    IdentifiableEntity
  28. def Invalidate(): Unit

    Permalink
    Definition Classes
    IdentifiableEntity
  29. def LocationOffset: Vector3

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

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

    Permalink
    Definition Classes
    Amenity
  32. def Orientation: Vector3

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  33. def Orientation_=(orient: Vector3): Vector3

    Permalink

    While setting the normal rotation angle for the IFF lock for a door (?), use the angular data to determine an "inside" side and an "outside" side.

    Doors are always positioned with the frame perpendicular to the ground.

    While setting the normal rotation angle for the IFF lock for a door (?), use the angular data to determine an "inside" side and an "outside" side.

    Doors are always positioned with the frame perpendicular to the ground. The i and j components can be excused for this reason and only the k component (rotation around world-up) matters. Due to angle-corrected North, add 90 degrees before switching to radians and negate the cosine.

    orient

    the orientation of the door

    returns

    the clamped orientation of the door

    Definition Classes
    IFFLockPlanetSideGameObjectWorldEntity
  34. def Outwards: Vector3

    Permalink
  35. 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
  36. 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

  37. def Position: Vector3

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

    Permalink
    Definition Classes
    PlanetSideGameObjectWorldEntity
  39. def Velocity: Option[Vector3]

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

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

    Permalink
    Definition Classes
    WorldEntity
  42. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from Hackable

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 IFFLock to any2stringadd[IFFLock]

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

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

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

Ungrouped