Class/Object

net.psforever.packet.game

FriendsRequest

Related Docs: object FriendsRequest | package game

Permalink

final case class FriendsRequest(action: Int, friend: String) extends PlanetSideGamePacket with Product with Serializable

Manage the lists of other players whose names are retained by the given player.

Players can be remembered by their names and added to a list of remembered names - the "friends list." They can also be dropped from the list. A list of "ignored" player names can also be retained. Ignored players will have their comments stifled in the given player's chat window. No name will be appended or removed from any list until the response to this packet is received.

Actions that involve the "remove" functionality will locate the entered name in the local list before dispatching this packet. A complaint will be logged to the event window if the name is not found.

Actions:
0 - display friends list
1 - add player to friends list
2 - remove player from friends list
4 - display ignored player list
5 - add player to ignored player list
6 - remove player from ignored player list

Exploration:
Are action = 3 and action = 7 supposed to do anything?

action

the purpose of this packet

friend

the player name that was entered; blank in certain situations

Source
FriendsRequest.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FriendsRequest
  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 FriendsRequest(action: Int, friend: String)

    Permalink

    action

    the purpose of this packet

    friend

    the player name that was entered; blank in certain situations

Type Members

  1. type Packet = FriendsRequest

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

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

    Permalink

    the purpose of this packet

  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
    FriendsRequestPlanetSidePacket
  10. def ensuring(cond: (FriendsRequest) ⇒ Boolean, msg: ⇒ Any): FriendsRequest

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FriendsRequest to Ensuring[FriendsRequest] 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 FriendsRequest to StringFormat[FriendsRequest] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. val friend: String

    Permalink

    the player name that was entered; blank in certain situations

  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

Ungrouped