Packages

final case class SquadMembershipResponse(request_type: types.SquadResponseType.Value, unk1: Int, unk2: Int, char_id: Long, other_id: Option[Long], player_name: String, unk5: Boolean, unk6: Option[Option[String]]) extends PlanetSideGamePacket with Product with Serializable

Dispatched by the server as message generation protocol for squad and platoon members. Prompted by and answers for a SquadMembershipRequest packet.

request_type

the purpose of the request

unk1

na

unk2

na

char_id

a squad member unique identifier; usually, the player being addresses by thie packet

other_id

another squad member's unique identifier; may be the same as char_id

player_name

name of the player being affected, if applicable

unk5

adjusts the nature of the request-type response based on the message recipient

unk6

na; the internal field, the Option[String], never seems to be set
request_type (enum value) / unk5 state (false/true)
----------------------------------------

  • Invite (0)
    false => [PROMPT] "player_name has invited you into a squad." [YES/NO]
    true => "You have invited player_name to join your squad."
  • ProximityInvite (1)
    false => n/a
    true => n/a
  • Accept (2)
    false => "player_name has accepted your invitation to join into your squad.
    "You have formed a squad and are now that squad's commander." (if first time)
    true => "You have accepted an invitation to join a squad."
    "You have successfully joined a squad for the first time." (if first time)
  • Reject (3)
    false => "player_name does not want to join your squad at this time."
    true => "You have declined an invitation to join a squad."
  • Cancel (4)
    false => "player_name has withdrawn his invitation."
    true => "You have canceled your invitation to player_name."
  • Leave (5)
    false => "The Squad Leader has kicked you out of the squad."
    true => "You have kicked player_name out of the squad."
  • Disband (6)
    false => "The squad has been disbanded."
    true => "You have disbanded the squad."
  • PlatoonInvite (7)
    false => [PROMPT] "player_name has invited you into a platoon." [YES/NO]
    true => "You have invited player_name's squad to join your platoon."
  • PlatoonAccept (8) false => "player_name has accepted your invitation to join into your platoon.
    "You have formed a platoon and are now that platoon commander." (if first time)
    true => "You have accepted an invitation to join a platoon."
    "You have successfully joined a platoon for the first time." (if first time)
  • PlatoonReject (9)
    false => "player_name does not want to join your platoon at this time."
    true => "You have declined an invitation to join a platoon."
  • PlatoonCancel (10)
    false => "player_name has withdrawn his invitation."
    true => "You have declined your invitation to player_name." (nonsense?)
  • PlatoonLeave (11)
    false => "The Platoon Leader has kicked you out of the platoon."
    true => "You have kicked player_name's squad out of the platoon."
  • PlatoonDisband (12)
    false => "The platoon has been disbanded."
    true => "You have disbanded the platoon."
Source
SquadMembershipResponse.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SquadMembershipResponse
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SquadMembershipResponse(request_type: types.SquadResponseType.Value, unk1: Int, unk2: Int, char_id: Long, other_id: Option[Long], player_name: String, unk5: Boolean, unk6: Option[Option[String]])

    request_type

    the purpose of the request

    unk1

    na

    unk2

    na

    char_id

    a squad member unique identifier; usually, the player being addresses by thie packet

    other_id

    another squad member's unique identifier; may be the same as char_id

    player_name

    name of the player being affected, if applicable

    unk5

    adjusts the nature of the request-type response based on the message recipient

    unk6

    na; the internal field, the Option[String], never seems to be set
    request_type (enum value) / unk5 state (false/true)
    ----------------------------------------

    • Invite (0)
      false => [PROMPT] "player_name has invited you into a squad." [YES/NO]
      true => "You have invited player_name to join your squad."
    • ProximityInvite (1)
      false => n/a
      true => n/a
    • Accept (2)
      false => "player_name has accepted your invitation to join into your squad.
      "You have formed a squad and are now that squad's commander." (if first time)
      true => "You have accepted an invitation to join a squad."
      "You have successfully joined a squad for the first time." (if first time)
    • Reject (3)
      false => "player_name does not want to join your squad at this time."
      true => "You have declined an invitation to join a squad."
    • Cancel (4)
      false => "player_name has withdrawn his invitation."
      true => "You have canceled your invitation to player_name."
    • Leave (5)
      false => "The Squad Leader has kicked you out of the squad."
      true => "You have kicked player_name out of the squad."
    • Disband (6)
      false => "The squad has been disbanded."
      true => "You have disbanded the squad."
    • PlatoonInvite (7)
      false => [PROMPT] "player_name has invited you into a platoon." [YES/NO]
      true => "You have invited player_name's squad to join your platoon."
    • PlatoonAccept (8) false => "player_name has accepted your invitation to join into your platoon.
      "You have formed a platoon and are now that platoon commander." (if first time)
      true => "You have accepted an invitation to join a platoon."
      "You have successfully joined a platoon for the first time." (if first time)
    • PlatoonReject (9)
      false => "player_name does not want to join your platoon at this time."
      true => "You have declined an invitation to join a platoon."
    • PlatoonCancel (10)
      false => "player_name has withdrawn his invitation."
      true => "You have declined your invitation to player_name." (nonsense?)
    • PlatoonLeave (11)
      false => "The Platoon Leader has kicked you out of the platoon."
      true => "You have kicked player_name's squad out of the platoon."
    • PlatoonDisband (12)
      false => "The platoon has been disbanded."
      true => "You have disbanded the platoon."

Type Members

  1. type Packet = SquadMembershipResponse

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val char_id: Long
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def encode: Attempt[BitVector]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def opcode: GamePacketOpcode.Value
  16. val other_id: Option[Long]
  17. val player_name: String
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val request_type: types.SquadResponseType.Value
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. val unk1: Int
  22. val unk2: Int
  23. val unk5: Boolean
  24. val unk6: Option[Option[String]]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped