Class/Object

net.psforever.packet.game

FavoritesMessage

Related Docs: object FavoritesMessage | package game

Permalink

final case class FavoritesMessage(list: types.LoadoutType.Value, player_guid: PlanetSideGUID, line: Int, label: String, armor: 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
2 - Reinforced
4 - AA MAX
5 - AI MAX
6 - AV MAX

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
ArmorChangedMessage
). Which exo-suit is associated with which index?

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

the type of exo-suit, if an Infantry loadout

Source
FavoritesMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FavoritesMessage
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. Serializable
  8. AnyRef
  9. 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 FavoritesMessage(list: types.LoadoutType.Value, player_guid: PlanetSideGUID, line: Int, label: String, armor: Option[Int])

    Permalink

    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

    the type of exo-suit, if an Infantry loadout

Type Members

  1. type Packet = FavoritesMessage

    Permalink

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FavoritesMessage to ArrowAssoc[FavoritesMessage] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val armor: Option[Int]

    Permalink

    the type of exo-suit, if an Infantry loadout

  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def encode: Attempt[BitVector]

    Permalink
    Definition Classes
    FavoritesMessagePlanetSidePacket
  10. def ensuring(cond: (FavoritesMessage) ⇒ Boolean, msg: ⇒ Any): FavoritesMessage

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  19. val label: String

    Permalink

    the identifier for this entry

  20. val line: Int

    Permalink

    the zero-indexed line number of this entry in its list

  21. val list: types.LoadoutType.Value

    Permalink

    the destination list

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def opcode: GamePacketOpcode.Value

    Permalink
  26. val player_guid: PlanetSideGUID

    Permalink

    the player

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def wait(): Unit

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

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

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

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

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped