net.psforever.packet.game.objectcreate
A very specific Option
object addition function.
A very specific Option
object addition function.
If a condition is met, the current Optional
value is incremented by a specific amount.
the original amount
the test on whether to add to start
how much to add to start
the amount after testing
By comparing the battle experience points to a fixed number of points, determine if the player is at least battle rank 24.
By comparing the battle experience points to a fixed number of points, determine if the player is at least battle rank 24. Important things happen if the player is at least battle rank 24 ...
the battle experience points being compared
true
, if the battle experience points are enough to be a player of the esteemed battle rank
A player's battle rank, determined by their battle experience points, determines how many implants to which they have access.
A player's battle rank, determined by their battle experience points, determines how many implants to which they have access. Starting with "no implants" at BR1, a player earns one at each of the three ranks: BR6, BR12, and BR18.
battle experience points
the number of accessible implant slots
Support function that obtains the "absolute list value" of an Option
object.
Support function that obtains the "absolute list value" of an Option
object.
the Option
object
if defined, returns a List
of the Option
object's contents;
if undefined (None
), returns an empty list
A curried function to calculate a cumulative padding value
for whichever of the groups of List
objects of String
objects are found in a DetailedCharacterData
object.
A curried function to calculate a cumulative padding value
for whichever of the groups of List
objects of String
objects are found in a DetailedCharacterData
object.
The specific String
object being considered is determined by the number of input lists.
the starting value with no implant entries, or bits from context
an inherited modification of the base
padding value
the list of implants in the stream
all of the important previous lists
the length of the current list
the padding value for the target list; a value clamped between 0 and 7
Exception
if the number of input lists (prevLists
) exceeds the number of expected bit distances between known lists
paddingCalculations(Option[Int], List[ImplantEntry], List[List[Any/]/])(Long)
A curried function to calculate a cumulative padding value
for whichever of the groups of List
objects of String
objects are found in a DetailedCharacterData
object.
A curried function to calculate a cumulative padding value
for whichever of the groups of List
objects of String
objects are found in a DetailedCharacterData
object.
Defines the expected base value - the starting value for determining the padding.
The specific String
object being considered is determined by the number of input lists.
an inherited modification of the base
padding value
the list of implants in the stream
all of the important previous lists
the length of the current list
the padding value for the target list
paddingCalculations(Int, Option[Int], List[ImplantEntry], List[List[Any]])(Long)