Class/Object

net.psforever.objects.vehicles

Cargo

Related Docs: object Cargo | package vehicles

Permalink

class Cargo extends AnyRef

Server-side support for a slot that vehicles can occupy

Source
Cargo.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cargo
  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 Cargo(cargoDef: CargoDefinition)

    Permalink

    cargoDef

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

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

    Permalink
  7. def CargoRestriction: CargoVehicleRestriction.Value

    Permalink
  8. def Occupant: Option[Vehicle]

    Permalink

    Is the cargo hold occupied?

    Is the cargo hold occupied?

    returns

    The vehicle in the cargo hold, or None if it is left vacant

  9. def Occupant_=(vehicle: Option[Vehicle]): Option[Vehicle]

    Permalink
  10. def Occupant_=(vehicle: Vehicle): Option[Vehicle]

    Permalink

    A vehicle is trying to board the cargo hold Cargo holds are exclusive positions that can only hold one vehicle at a time.

    A vehicle is trying to board the cargo hold Cargo holds are exclusive positions that can only hold one vehicle at a time.

    vehicle

    the vehicle boarding the cargo hold, or None if the vehicle is leaving

    returns

    the vehicle sitting in this seat, or None if it is left vacant

  11. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  24. def isOccupied: Boolean

    Permalink

    Is this cargo hold occupied?

    Is this cargo hold occupied?

    returns

    true, if it is occupied; false, otherwise

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. 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
    Cargo → AnyRef → Any
  30. final def wait(): Unit

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

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

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

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

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped