object EquipmentSize extends Enumeration
An Enumeration
of common equipment sizes in the game.
Check the comments for originating use.
- Source
- EquipmentSize.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EquipmentSize
- Enumeration
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class Val extends Value with Serializable
- Attributes
- protected
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- abstract class Value extends Ordered[Value] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetOps[Value, SortedSet, ValueSet] with StrictOptimizedIterableOps[Value, Set, ValueSet] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
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
- val BFRArmWeapon: Value
- val BFRGunnerWeapon: Value
- val BaseTurretWeapon: Value
- val Blocked: Value
- val Inventory: Value
- val Max: Value
- val Melee: Value
- val Pistol: Value
- val Rifle: Value
- final def Value(i: Int, name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(i: Int): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value: Value
- Attributes
- protected
- Definition Classes
- Enumeration
- val VehicleWeapon: Value
- final def apply(x: Int): Value
- Definition Classes
- Enumeration
- 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()
- def isEqual(type1: Value, type2: Value): Boolean
Perform custom size comparison.
In almost all cases, the only time two sizes are equal is if they are the same size.Perform custom size comparison.
In almost all cases, the only time two sizes are equal is if they are the same size. If either size isBlocked
, however, they will never be equal. If either size isInventory
orAny
, however, they will always be equal. Size comparison is important for puttingEquipment
in size-fitted slots, but not for much else.- type1
the first size
- type2
the second size
- returns
true
, if they are equal;false
, otherwise
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def maxId: Int
- Definition Classes
- Enumeration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nextId: Int
- Attributes
- protected
- Definition Classes
- Enumeration
- var nextName: Iterator[String]
- Attributes
- protected
- Definition Classes
- Enumeration
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def readResolve(): AnyRef
- Attributes
- protected
- Definition Classes
- Enumeration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Enumeration → AnyRef → Any
- def values: ValueSet
- Definition Classes
- Enumeration
- 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()
- final def withName(s: String): Value
- Definition Classes
- Enumeration
- implicit object ValueOrdering extends Ordering[Value]
- Definition Classes
- Enumeration