final case class FavoritesMessage(list: types.LoadoutType.Value, player_guid: PlanetSideGUID, line: Int, label: String, armor_type: Option[Int]) extends PlanetSideGamePacket with Product with Serializable
Load the designator for an entry in the player's favorites list.
This entry defines a user-defined loadout label that appears on a "Favorites" tab list and can be selected.
A subsequent server request - ItemTransactionMessage
- must be made to retrieve the said loadout contents.
Multiple separated favorites lists are present in the game.
All entries are prepended with their destination list which indicates how from how that list is viewable.
Different lists also have different numbers of available lines to store loadout entries.
Infantry equipment favorites are appended with a code for the type of exo-suit that they will load on a player.
This does not match the same two field numbering system as in ArmorChangedMessage
packets.
Armors:
1 - Agile
).
Which exo-suit is associated with which index?
2 - Reinforced
4 - AA MAX
5 - AI MAX
6 - AV MAX
ArmorChangedMessage
Exploration:
There are three unaccounted exo-suit indices - 0, 3, and 7;
and, there are two specific kinds of exo-suit that are not defined - Infiltration and Standard.
It is possible that one of the indices also defines the generic MAX (see
- list
the destination list
- player_guid
the player
- line
the zero-indexed line number of this entry in its list
- label
the identifier for this entry
- armor_type
the type of exo-suit, if an Infantry loadout; the type of battleframe, if a Battleframe loadout;
None
, if just a Vehicle loadout
- Source
- FavoritesMessage.scala
- Alphabetic
- By Inheritance
- FavoritesMessage
- Product
- Equals
- PlanetSideGamePacket
- PlanetSidePacket
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FavoritesMessage(list: types.LoadoutType.Value, player_guid: PlanetSideGUID, line: Int, label: String, armor_type: Option[Int])
- list
the destination list
- player_guid
the player
- line
the zero-indexed line number of this entry in its list
- label
the identifier for this entry
- armor_type
the type of exo-suit, if an Infantry loadout; the type of battleframe, if a Battleframe loadout;
None
, if just a Vehicle loadout
Type Members
- type Packet = FavoritesMessage
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 armor_type: Option[Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encode: Attempt[BitVector]
- Definition Classes
- FavoritesMessage → PlanetSidePacket
- 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
- val label: String
- val line: Int
- val list: types.LoadoutType.Value
- 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 opcode: GamePacketOpcode.Value
- Definition Classes
- FavoritesMessage → PlanetSideGamePacket → PlanetSidePacket
- val player_guid: PlanetSideGUID
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()