final case class Shortcut(purpose: Int, tile: String, effect1: String = "", effect2: String = "") extends Product with Serializable
Details regarding this shortcut.
The parameters purpose and tile are closely related.
These two fields are consistent for all shortcuts of the same type.
purpose indicates the purpose of the shortcut.
tile is related to what kind of graphic is displayed in this shortcut's slot on the hotbar based on its purpose.
The parameters effect1 and effect2 are exclusive to text macro shortcuts and are defaulted to empty Strings.
The shortcut_macro setting displays a word bubble superimposed by the (first three letters of) effect1 text.
Implants and the medkit should have self-explanatory graphics.
Purpose:
0 - Medkit
1 - Macro
2 - Implant
Tile:
advanced_regen (regeneration)
audio_amplifier
darklight_vision
medkit
melee_booster
personal_shield
range_magnifier
second_wind
shortcut_macro
silent_run (sensor shield)
surge
targeting (enhanced targetting)
Exploration:
What is purpose when 3?
- purpose
the primary use of this shortcut
- tile
the visual element of the shortcut
- effect1
for macros, a three letter acronym displayed in the hotbar
- effect2
for macros, the chat message content
- Alphabetic
- By Inheritance
- Shortcut
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Shortcut(purpose: Int, tile: String, effect1: String = "", effect2: String = "")
- purpose
the primary use of this shortcut
- tile
the visual element of the shortcut
- effect1
for macros, a three letter acronym displayed in the hotbar
- effect2
for macros, the chat message content
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val effect1: String
- val effect2: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val purpose: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tile: String
- 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()