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
- Alphabetic
- By Inheritance
- Seat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Seat(seatDef: SeatDefinition)
- seatDef
the Definition that constructs this item and maintains some of its unchanging fields
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 ArmorRestriction: SeatArmorRestriction.Value
- def Bailable: Boolean
- def ControlledWeapon: Option[Int]
- def Occupant: Option[Player]
Is this seat occupied?
Is this seat occupied?
- returns
the Player object of the player sitting in this seat, or
Noneif it is left vacant
- def Occupant_=(player: Option[Player]): Option[Player]
- def Occupant_=(player: Player): Option[Player]
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
Noneif the occupant is getting up- returns
the Player object of the player sitting in this seat, or
Noneif it is left vacant
- 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 isOccupied: Boolean
Is this seat occupied?
Is this seat occupied?
- returns
true, if it is occupied;false, otherwise
- 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
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
- 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()