Class/Object

net.psforever.objects.vehicles

Seat

Related Docs: object Seat | package vehicles

Permalink

class Seat extends AnyRef

Server-side support for a slot that infantry players can occupy, ostensibly called a "seat" and treated like a "seat." (Players can sit in it.)

Source
Seat.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Seat
  2. AnyRef
  3. 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 Seat(seatDef: SeatDefinition)

    Permalink

    seatDef

    the Definition that constructs this item and maintains some of its unchanging 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 Seat to any2stringadd[Seat] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Seat, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Seat to ArrowAssoc[Seat] 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 ArmorRestriction: SeatArmorRestriction.Value

    Permalink
  7. def Bailable: Boolean

    Permalink
  8. def ControlledWeapon: Option[Int]

    Permalink
  9. def Occupant: Option[Player]

    Permalink

    Is this seat occupied?

    Is this seat occupied?

    returns

    the Player object of the player sitting in this seat, or None if it is left vacant

  10. def Occupant_=(player: Option[Player]): Option[Player]

    Permalink
  11. def Occupant_=(player: Player): Option[Player]

    Permalink

    The player is trying to sit down.

    The player is trying to sit down. Seats are exclusive positions that can only hold one occupant at a time.

    player

    the player who wants to sit, or None if the occupant is getting up

    returns

    the Player object of the player sitting in this seat, or None if it is left vacant

  12. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  25. def isOccupied: Boolean

    Permalink

    Is this seat occupied?

    Is this seat occupied?

    returns

    true, if it is occupied; false, otherwise

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

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

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

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

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

    Permalink

    Override the string representation to provide additional information.

    Override the string representation to provide additional information.

    returns

    the string output

    Definition Classes
    Seat → AnyRef → Any
  31. final def wait(): Unit

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

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

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

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

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped