Class/Object

net.psforever.packet.game

BattleExperienceMessage

Related Docs: object BattleExperienceMessage | package game

Permalink

final case class BattleExperienceMessage(player_guid: PlanetSideGUID, experience: Long, msg: Int) extends PlanetSideGamePacket with Product with Serializable

Inform the client how many battle experience points (BEP) the player currently has earned.

The amount of experience earned is an accumulating value. Whenever the server sends this packet, the value of this field is equal to the player's current total BEP. Each packet updates to a higher BEP score and the client occasionally reports of the difference as an event message. "You have been awarded x battle experience points." Milestone notifications that occur due to BEP gain, e.g., rank progression, will trigger naturally as the client is updated.

It is possible to award more battle experience than is necessary to progress one's character to the highest battle rank. (This must be accomplished in a single event packet.) Only the most significant notifications will be displayed in that case. If the BEP has been modified, there will be an extra three bits to indicate which message to display.

Messages:
0 - Normal
1 - Normal (repeat?)
2 - Support bonus ("due to support activity")
4 - Rabbit bonus ("+25% rabbit Bonus")
(Support message has priority over Rabbit message.)

Exploration:
msg = 1 probably does not do the same thing as mod = 0.

player_guid

the player

experience

the current total experience

msg

modifies the awarded experience message

Source
BattleExperienceMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BattleExperienceMessage
  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 BattleExperienceMessage(player_guid: PlanetSideGUID, experience: Long, msg: Int)

    Permalink

    player_guid

    the player

    experience

    the current total experience

    msg

    modifies the awarded experience message

Type Members

  1. type Packet = BattleExperienceMessage

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

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

    Permalink
  9. def ensuring(cond: (BattleExperienceMessage) ⇒ Boolean, msg: ⇒ Any): BattleExperienceMessage

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. val experience: Long

    Permalink

    the current total experience

  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 BattleExperienceMessage to StringFormat[BattleExperienceMessage] 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 msg: Int

    Permalink

    modifies the awarded experience message

  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. val player_guid: PlanetSideGUID

    Permalink

    the player

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

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

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

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

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

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

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

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

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

Ungrouped