Class/Object

net.psforever.packet.game

SquadDefinitionActionMessage

Related Docs: object SquadDefinitionActionMessage | package game

Permalink

final case class SquadDefinitionActionMessage(action: Int, unk1: Int, unk2: Int, string_opt: Option[String], int1_opt: Option[Int], int2_opt: Option[Int], long1_opt: Option[Long], long2_opt: Option[Long], bool_opt: Option[Boolean]) extends PlanetSideGamePacket with Product with Serializable

Manage composition and details of a player's current squad, or the currently-viewed squad.

The action code indicates the format of the remainder data in the packet. The following formats are translated; their purposes are listed:
  (None)
    3 - Save Squad Definition     8 - List Squad     26 - Reset All     35 - Cancel Squad Search     41 - Cancel Find   Boolean
    28 - Auto-approve Requests for Invitation
    29 - UNKNOWN
    30 - UNKNOWN
    31 - Location Follows Squad Lead
  Int
    10 - Select this Role for Yourself
    11 - UNKNOWN
    20 - (Squad leader) Change Squad Zone
    21 - (Squad leader) Close Squad Member Position
    22 - (Squad leader) Add Squad Member Position
    33 - UNKNOWN
    40 - Find LFS Soldiers that Meet the Requirements for this Role
  Long
    13 - UNKNOWN
    14 - UNKNOWN
    15 - UNKNOWN
    37 - UNKNOWN
  String
    7 - UNKNOWN
    19 - (Squad leader) Change Squad Purpose
  Int :: Long
    12 - UNKNOWN
    25 - (Squad leader) Change Squad Member Requirements - Weapons
    38 - UNKNOWN
  Int :: String
    23 - (Squad leader) Change Squad Member Requirements - Role
    24 - (Squad leader) Change Squad Member Requirements - Detailed Orders
  Long :: Long
    36 - UNKNOWN
  String :: Long :: Int :: Int
    34 - Search for Squads with a Particular Role

Exploration:
Some notes regarding the full list of action codes follows after this packet. Asides from codes whose behaviors are unknown, some codes also have unknown data format. No information for codes 1, 5, 9, 27, or 35 has been found yet.

action

the purpose of this packet; also decides the content of the parameter fields

unk1

na

unk2

na

string_opt

the optional String parameter

int1_opt

the first optional Int parameter; will not necessarily conform to a single bit length

int2_opt

the second optional Int parameter

long1_opt

the first optional Long parameter; will not necessarily conform to a single bit length

long2_opt

the second optional Long parameter

bool_opt

the optional Boolean parameter

Source
SquadDefinitionActionMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SquadDefinitionActionMessage
  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 SquadDefinitionActionMessage(action: Int, unk1: Int, unk2: Int, string_opt: Option[String], int1_opt: Option[Int], int2_opt: Option[Int], long1_opt: Option[Long], long2_opt: Option[Long], bool_opt: Option[Boolean])

    Permalink

    action

    the purpose of this packet; also decides the content of the parameter fields

    unk1

    na

    unk2

    na

    string_opt

    the optional String parameter

    int1_opt

    the first optional Int parameter; will not necessarily conform to a single bit length

    int2_opt

    the second optional Int parameter

    long1_opt

    the first optional Long parameter; will not necessarily conform to a single bit length

    long2_opt

    the second optional Long parameter

    bool_opt

    the optional Boolean parameter

Type Members

  1. type Packet = SquadDefinitionActionMessage

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from SquadDefinitionActionMessage to ArrowAssoc[SquadDefinitionActionMessage] 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; also decides the content of the parameter fields

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val bool_opt: Option[Boolean]

    Permalink

    the optional Boolean parameter

  9. def clone(): AnyRef

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

    Permalink
  11. def ensuring(cond: (SquadDefinitionActionMessage) ⇒ Boolean, msg: ⇒ Any): SquadDefinitionActionMessage

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. val int1_opt: Option[Int]

    Permalink

    the first optional Int parameter; will not necessarily conform to a single bit length

  20. val int2_opt: Option[Int]

    Permalink

    the second optional Int parameter

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val long1_opt: Option[Long]

    Permalink

    the first optional Long parameter; will not necessarily conform to a single bit length

  23. val long2_opt: Option[Long]

    Permalink

    the second optional Long parameter

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

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

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

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

    Permalink
  28. val string_opt: Option[String]

    Permalink

    the optional String parameter

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

    Permalink
    Definition Classes
    AnyRef
  30. val unk1: Int

    Permalink

    na

  31. val unk2: Int

    Permalink

    na

  32. final def wait(): Unit

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

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

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

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

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

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

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

Ungrouped