Crossfire JXClient, Trunk
R20561
|
This is the representation of all the statistics of a player, like its speed or its experience. More...
Public Member Functions | |
void | addCrossfireStatsListener (@NotNull final StatsListener statsListener) |
Adds a StatsListener to be notified about stat changes. More... | |
String | getActiveSkill () |
Returns the active skill name. More... | |
long | getExperience () |
Returns the amount of global experience. More... | |
long | getExperienceNextLevel () |
Returns the experience needed to reach the next level. More... | |
double | getFloatStat (final int statNo) |
Returns the numerical value of the given statistic. More... | |
String | getRange () |
Returns the current content of the range stat. More... | |
int | getStat (final int statNo) |
Returns the numerical value of the given statistic. More... | |
String | getTitle () |
Returns the current title. More... | |
double | getWeaponSpeed () |
Returns the weapon speed stat. More... | |
void | removeCrossfireStatsListener (@NotNull final StatsListener statsListener) |
Removes a StatsListener to be notified about stat changes. More... | |
void | setActiveSkill (@NotNull final String activeSkill) |
Sets the active skill name. More... | |
void | setSimpleWeaponSpeed (final boolean simpleWeaponSpeed) |
Sets whether the CS_STAT_WEAP_SP value contains the weapon speed directly. More... | |
void | setStat (final int statNo, final int value) |
Sets the given statistic numerical value. More... | |
void | setStatInt2 (final int stat, final short param) |
Updates a stat value with a two-byte int value. More... | |
void | setStatInt4 (final int stat, final int param) |
Updates a stat value with a four-byte int value. More... | |
void | setStatInt8 (final int stat, final long param) |
Updates a stat value with an eight-byte int value. More... | |
void | setStatSkill (final int stat, final int level, final long experience) |
Updates a stat value with a skill value. More... | |
void | setStatString (final int stat, @NotNull final String param) |
Updates a stat value with a string value. More... | |
Stats (@NotNull final ExperienceTable experienceTable, @NotNull final SkillSet skillSet, @NotNull final GuiStateManager guiStateManager) | |
Creates a new instance. More... | |
Static Public Attributes | |
static final int | C_STAT_EXP_NEXT_LEVEL = 0x10000 |
The global experience needed to reach next level stat. More... | |
static final int | C_STAT_LOWFOOD = 0x10003 |
The Low Food indicator. More... | |
static final int | C_STAT_POISONED = 256 |
The "is poisoned" indicator. More... | |
static final int | C_STAT_WEIGHT = 257 |
The character's weight. More... | |
static final int | CS_NUM_SKILLS = 50 |
CS_NUM_SKILLS does not match how many skills there really are - instead, it is used as a range of values so that the client can have some idea how many skill categories there may be. More... | |
static final int | CS_STAT_AC = 14 |
The Armor Class stat. More... | |
static final int | CS_STAT_APPLIED_CHA = 51 |
The charisma primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_APPLIED_CON = 50 |
The constitution primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_APPLIED_DEX = 49 |
The dexterity primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_APPLIED_INT = 47 |
The integer primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_APPLIED_POW = 52 |
The power primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_APPLIED_STR = 46 |
The strength primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_APPLIED_WIS = 48 |
The wisdom primary stat changes due to gear or skills. More... | |
static final int | CS_STAT_ARMOUR = 16 |
The Armour stat. More... | |
static final int | CS_STAT_BASE_CHA = 44 |
The charisma primary stat without boosts or depletions. More... | |
static final int | CS_STAT_BASE_CON = 43 |
The constitution primary stat without boosts or depletions. More... | |
static final int | CS_STAT_BASE_DEX = 42 |
The dexterity primary stat without boosts or depletions. More... | |
static final int | CS_STAT_BASE_INT = 40 |
The integer primary stat without boosts or depletions. More... | |
static final int | CS_STAT_BASE_POW = 45 |
The power primary stat without boosts or depletions. More... | |
static final int | CS_STAT_BASE_STR = 39 |
The strength primary stat without boosts or depletions. More... | |
static final int | CS_STAT_BASE_WIS = 41 |
The wisdom primary stat without boosts or depletions. More... | |
static final int | CS_STAT_CHA = 10 |
The Charisma Primary stat. More... | |
static final int | CS_STAT_CON = 9 |
The Constitution Primary stat. More... | |
static final int | CS_STAT_DAM = 15 |
The Damage stat. More... | |
static final int | CS_STAT_DEX = 8 |
The Dexterity Primary stat. More... | |
static final int | CS_STAT_EXP = 11 |
The Global Experience (32bit encoding) stat. More... | |
static final int | CS_STAT_EXP64 = 28 |
The Global Experience (64bit encoding) stat. More... | |
static final int | CS_STAT_FLAGS = 25 |
The various flags used in stats. More... | |
static final int | CS_STAT_FOOD = 18 |
The Food stat. More... | |
static final int | CS_STAT_GOLEM_HP = 53 |
The golem's hitpoints, 0 if no golem. More... | |
static final int | CS_STAT_GOLEM_MAXHP = 54 |
The golem's maximum hitpoints, 0 if no golem. More... | |
static final int | CS_STAT_GRACE = 23 |
The Grace stat. More... | |
static final int | CS_STAT_HP = 1 |
The Hit Points stat. More... | |
static final int | CS_STAT_INT = 6 |
The Intelligence Primary stat. More... | |
static final int | CS_STAT_LEVEL = 12 |
The Global Level stat. More... | |
static final int | CS_STAT_MAXGRACE = 24 |
The Maximum Grace stat. More... | |
static final int | CS_STAT_MAXHP = 2 |
The Maximum Hit Points stat. More... | |
static final int | CS_STAT_MAXSP = 4 |
The Maximum Spell Points stat. More... | |
static final int | CS_STAT_POW = 22 |
The Power Primary stat. More... | |
static final int | CS_STAT_RACE_CHA = 37 |
The race's maximum charisma primary stat. More... | |
static final int | CS_STAT_RACE_CON = 36 |
The race's maximum constitution primary stat. More... | |
static final int | CS_STAT_RACE_DEX = 35 |
The race's maximum dexterity primary stat. More... | |
static final int | CS_STAT_RACE_INT = 33 |
The race's maximum intelligence primary stat. More... | |
static final int | CS_STAT_RACE_POW = 38 |
The race's maximum power primary stat. More... | |
static final int | CS_STAT_RACE_STR = 32 |
The race's maximum strength primary stat. More... | |
static final int | CS_STAT_RACE_WIS = 34 |
The race's maximum wisdom primary stat. More... | |
static final int | CS_STAT_RANGE = 20 |
The Range stat - this is what is currently readied by the player to fire. More... | |
static final int | CS_STAT_RES_ACID = 106 |
Resistance to acid. More... | |
static final int | CS_STAT_RES_BLIND = 117 |
Resistance to blindness. More... | |
static final int | CS_STAT_RES_COLD = 104 |
Resistance to cold. More... | |
static final int | CS_STAT_RES_CONF = 105 |
Resistance to confusion. More... | |
static final int | CS_STAT_RES_DEATH = 115 |
Resistance to death. More... | |
static final int | CS_STAT_RES_DEPLETE = 114 |
Resistance to depletion. More... | |
static final int | CS_STAT_RES_DRAIN = 107 |
Resistance to drain life. More... | |
static final int | CS_STAT_RES_ELEC = 103 |
Resistance to electricity. More... | |
static final int | CS_STAT_RES_FEAR = 113 |
Resistance to fear. More... | |
static final int | CS_STAT_RES_FIRE = 102 |
Resistance to fire. More... | |
static final int | CS_STAT_RES_GHOSTHIT = 108 |
Resistance to ghost hit. More... | |
static final int | CS_STAT_RES_HOLYWORD = 116 |
Resistance to holy word. More... | |
static final int | CS_STAT_RES_MAG = 101 |
Resistance to magical attacks. More... | |
static final int | CS_STAT_RES_PARA = 111 |
Resistance to paralysis. More... | |
static final int | CS_STAT_RES_PHYS = 100 |
Resistance to physical attacks. More... | |
static final int | CS_STAT_RES_POISON = 109 |
Resistance to poison. More... | |
static final int | CS_STAT_RES_SLOW = 110 |
Resistance to slowness. More... | |
static final int | CS_STAT_RES_TURN_UNDEAD = 112 |
Resistance to turn undead. More... | |
static final int | CS_STAT_RESIST_END = 117 |
End index of the resistances. More... | |
static final int | CS_STAT_RESIST_START = 100 |
Beginning index of the resistances. More... | |
static final int | CS_STAT_SKILLINFO = 140 |
CS_STAT_SKILLINFO is used as the starting index point. More... | |
static final int | CS_STAT_SP = 3 |
The Spell Points stat. More... | |
static final int | CS_STAT_SPEED = 17 |
The Speed stat. More... | |
static final int | CS_STAT_SPELL_ATTUNE = 29 |
Attuned spell paths of a spell. More... | |
static final int | CS_STAT_SPELL_DENY = 31 |
Denied spell paths of a spell. More... | |
static final int | CS_STAT_SPELL_REPEL = 30 |
Repelled spell paths of a spell. More... | |
static final int | CS_STAT_STR = 5 |
The Strength Primary stat. More... | |
static final int | CS_STAT_TITLE = 21 |
The Title stat. More... | |
static final int | CS_STAT_WC = 13 |
The Weapon Class stat. More... | |
static final int | CS_STAT_WEAP_SP = 19 |
The Weapon Speed stat. More... | |
static final int | CS_STAT_WEIGHT_LIM = 26 |
The Weight Limit stat. More... | |
static final int | CS_STAT_WIS = 7 |
The Wisdom Primary stat. More... | |
static final int | FLOAT_MULTI = 100000 |
Factor used to convert float to int values. More... | |
static final int | RESIST_TYPES = 18 |
The total number of resistances. More... | |
Private Member Functions | |
void | calculateExperienceToNextLevel () |
Calculates the experience needed to reach the next level. More... | |
void | reportUnhandledStat (final int stat, @NotNull final String type) |
Report an unhandled stat value. More... | |
void | reset () |
Forgets about all stats. More... | |
void | setExperience (final long exp) |
Sets the amount of global experience. More... | |
void | setRange (@NotNull final String range) |
Sets the current value for the Range - this is basically the currently active skill for the player. More... | |
void | setTitle (@NotNull final String title) |
Sets the current Title. More... | |
Private Attributes | |
String | activeSkill = "" |
The active skill name. More... | |
long | exp |
The total experience. More... | |
final ExperienceTable | experienceTable |
The ExperienceTable instance to use. More... | |
long | expNextLevel |
The experience needed to reach the next level. More... | |
final GuiStateListener | guiStateListener |
The GuiStateListener for detecting established or dropped connections. More... | |
String | range = "" |
The current value of the range stat. More... | |
boolean | simpleWeaponSpeed |
Whether the CS_STAT_WEAP_SP value contains the weapon speed directly. More... | |
final SkillSet | skillSet |
The SkillSet instance to use. More... | |
final int [] | stats = new int[258] |
The current stat values. More... | |
final EventListenerList2< StatsListener > | statsListeners = new EventListenerList2<>() |
The listeners to inform of stat changes. More... | |
String | title = "" |
The current value of the title stat. More... | |
final Collection< String > | unhandledStats = new HashSet<>(0) |
All unhandled stat values for which an error has been printed. More... | |
This is the representation of all the statistics of a player, like its speed or its experience.
Constants named
are client-sided; * constants named
are stats as sent by the server.
Definition at line 43 of file Stats.java.
com.realtime.crossfire.jxclient.stats.Stats.Stats | ( | @NotNull final ExperienceTable | experienceTable, |
@NotNull final SkillSet | skillSet, | ||
@NotNull final GuiStateManager | guiStateManager | ||
) |
Creates a new instance.
experienceTable | the experience table instance to use |
skillSet | the skill set instance to use |
guiStateManager | the gui state manager to watch |
Definition at line 571 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.experienceTable, com.realtime.crossfire.jxclient.stats.Stats.guiStateListener, and com.realtime.crossfire.jxclient.stats.Stats.skillSet.
void com.realtime.crossfire.jxclient.stats.Stats.addCrossfireStatsListener | ( | @NotNull final StatsListener | statsListener | ) |
Adds a StatsListener to be notified about stat changes.
statsListener | the listener to add |
Definition at line 770 of file Stats.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.add().
Referenced by com.realtime.crossfire.jxclient.gui.gauge.ActiveSkillGaugeUpdater.ActiveSkillGaugeUpdater(), com.realtime.crossfire.jxclient.stats.ActiveSkillWatcher.ActiveSkillWatcher(), and com.realtime.crossfire.jxclient.gui.label.GUILabelStats2.GUILabelStats2().
|
private |
Calculates the experience needed to reach the next level.
Definition at line 754 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.ExperienceTable.getExperienceToNextLevel().
Referenced by com.realtime.crossfire.jxclient.stats.Stats.setExperience(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
String com.realtime.crossfire.jxclient.stats.Stats.getActiveSkill | ( | ) |
Returns the active skill name.
Definition at line 668 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.activeSkill.
long com.realtime.crossfire.jxclient.stats.Stats.getExperience | ( | ) |
Returns the amount of global experience.
Definition at line 722 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.exp.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), and com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater.updateExperienceNextLevel().
long com.realtime.crossfire.jxclient.stats.Stats.getExperienceNextLevel | ( | ) |
Returns the experience needed to reach the next level.
Definition at line 747 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.expNextLevel.
double com.realtime.crossfire.jxclient.stats.Stats.getFloatStat | ( | final int | statNo | ) |
Returns the numerical value of the given statistic.
statNo | the stat identifier; see the CS_STAT constants |
Definition at line 624 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.FLOAT_MULTI.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getWeaponSpeed().
String com.realtime.crossfire.jxclient.stats.Stats.getRange | ( | ) |
Returns the current content of the range stat.
This is basically the current active skill for the player.
Definition at line 659 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.range.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest().
int com.realtime.crossfire.jxclient.stats.Stats.getStat | ( | final int | statNo | ) |
Returns the numerical value of the given statistic.
statNo | the stat identifier; see the CS_STAT constants |
Definition at line 615 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.spells.Spell.getTooltipText(), com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater.updateExperienceNextLevel(), and com.realtime.crossfire.jxclient.gui.label.GUILabelStats2.updateStat().
String com.realtime.crossfire.jxclient.stats.Stats.getTitle | ( | ) |
Returns the current title.
Definition at line 649 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.title.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest().
double com.realtime.crossfire.jxclient.stats.Stats.getWeaponSpeed | ( | ) |
Returns the weapon speed stat.
Definition at line 786 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.getFloatStat().
void com.realtime.crossfire.jxclient.stats.Stats.removeCrossfireStatsListener | ( | @NotNull final StatsListener | statsListener | ) |
Removes a StatsListener to be notified about stat changes.
statsListener | the listener to remove |
Definition at line 778 of file Stats.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.remove().
Referenced by com.realtime.crossfire.jxclient.gui.gauge.ActiveSkillGaugeUpdater.dispose(), com.realtime.crossfire.jxclient.gui.label.GUILabelStats.dispose(), com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater.dispose(), and com.realtime.crossfire.jxclient.gui.label.GUILabelStats2.dispose().
|
private |
Report an unhandled stat value.
stat | the stat value |
type | the stat type |
Definition at line 956 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.setStatInt2(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt4(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt8(), com.realtime.crossfire.jxclient.stats.Stats.setStatSkill(), and com.realtime.crossfire.jxclient.stats.Stats.setStatString().
|
private |
Forgets about all stats.
Definition at line 597 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.setActiveSkill(), com.realtime.crossfire.jxclient.stats.Stats.setExperience(), com.realtime.crossfire.jxclient.stats.Stats.setRange(), com.realtime.crossfire.jxclient.stats.Stats.setStat(), and com.realtime.crossfire.jxclient.stats.Stats.setTitle().
void com.realtime.crossfire.jxclient.stats.Stats.setActiveSkill | ( | @NotNull final String | activeSkill | ) |
Sets the active skill name.
activeSkill | the active skill name |
Definition at line 707 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.activeSkill.
Referenced by com.realtime.crossfire.jxclient.items.ItemsManager.playerReceived(), com.realtime.crossfire.jxclient.stats.Stats.reset(), and com.realtime.crossfire.jxclient.stats.ActiveSkillWatcher.setActive().
|
private |
Sets the amount of global experience.
exp | the new amount of global experience |
Definition at line 730 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.calculateExperienceToNextLevel(), and com.realtime.crossfire.jxclient.stats.Stats.exp.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.reset(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt4(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt8().
|
private |
Sets the current value for the Range - this is basically the currently active skill for the player.
range | the new content of range |
Definition at line 692 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.range.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.reset(), and com.realtime.crossfire.jxclient.stats.Stats.setStatString().
void com.realtime.crossfire.jxclient.stats.Stats.setSimpleWeaponSpeed | ( | final boolean | simpleWeaponSpeed | ) |
Sets whether the CS_STAT_WEAP_SP value contains the weapon speed directly.
simpleWeaponSpeed | whether is the weapon speed value |
Definition at line 583 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.simpleWeaponSpeed.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processVersion().
void com.realtime.crossfire.jxclient.stats.Stats.setStat | ( | final int | statNo, |
final int | value | ||
) |
Sets the given statistic numerical value.
statNo | the stat identifier; see the CS_STAT constants |
value | the value to assign to the chosen statistic |
Definition at line 633 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.items.ItemsManager.playerReceived(), com.realtime.crossfire.jxclient.stats.Stats.reset(), com.realtime.crossfire.jxclient.stats.PoisonWatcher.setActive(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt2(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt4(), and com.realtime.crossfire.jxclient.items.ItemsManager.upditemReceived().
void com.realtime.crossfire.jxclient.stats.Stats.setStatInt2 | ( | final int | stat, |
final short | param | ||
) |
Updates a stat value with a two-byte int value.
stat | the stat |
param | the stat value |
Definition at line 804 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.calculateExperienceToNextLevel(), com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_AC, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_CHA, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_CON, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_DEX, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_INT, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_POW, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_STR, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_APPLIED_WIS, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_ARMOUR, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_CHA, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_CON, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_DEX, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_INT, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_POW, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_STR, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_BASE_WIS, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_CHA, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_CON, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_DAM, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_DEX, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_FLAGS, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_FOOD, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_GOLEM_HP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_GOLEM_MAXHP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_GRACE, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_HP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_INT, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_LEVEL, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_MAXGRACE, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_MAXHP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_MAXSP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_POW, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_CHA, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_CON, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_DEX, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_INT, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_POW, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_STR, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RACE_WIS, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_SP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_STR, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_WC, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_WIS, com.realtime.crossfire.jxclient.stats.Stats.reportUnhandledStat(), and com.realtime.crossfire.jxclient.stats.Stats.setStat().
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
void com.realtime.crossfire.jxclient.stats.Stats.setStatInt4 | ( | final int | stat, |
final int | param | ||
) |
Updates a stat value with a four-byte int value.
stat | the stat |
param | the stat value |
Definition at line 873 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_EXP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_SPEED, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_SPELL_ATTUNE, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_SPELL_DENY, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_SPELL_REPEL, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_WEAP_SP, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_WEIGHT_LIM, com.realtime.crossfire.jxclient.stats.Stats.reportUnhandledStat(), com.realtime.crossfire.jxclient.stats.Stats.setExperience(), and com.realtime.crossfire.jxclient.stats.Stats.setStat().
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
void com.realtime.crossfire.jxclient.stats.Stats.setStatInt8 | ( | final int | stat, |
final long | param | ||
) |
Updates a stat value with an eight-byte int value.
stat | the stat |
param | the stat value |
Definition at line 899 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_EXP64, com.realtime.crossfire.jxclient.stats.Stats.reportUnhandledStat(), and com.realtime.crossfire.jxclient.stats.Stats.setExperience().
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
void com.realtime.crossfire.jxclient.stats.Stats.setStatSkill | ( | final int | stat, |
final int | level, | ||
final long | experience | ||
) |
Updates a stat value with a skill value.
stat | the stat |
level | the stat value |
experience | the stat value |
Definition at line 938 of file Stats.java.
References com.realtime.crossfire.jxclient.skills.SkillSet.getSkill(), com.realtime.crossfire.jxclient.stats.Stats.reportUnhandledStat(), and com.realtime.crossfire.jxclient.skills.Skill.set().
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
void com.realtime.crossfire.jxclient.stats.Stats.setStatString | ( | final int | stat, |
@NotNull final String | param | ||
) |
Updates a stat value with a string value.
stat | the stat |
param | the stat value |
Definition at line 916 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_RANGE, com.realtime.crossfire.jxclient.stats.Stats.CS_STAT_TITLE, com.realtime.crossfire.jxclient.stats.Stats.reportUnhandledStat(), com.realtime.crossfire.jxclient.stats.Stats.setRange(), and com.realtime.crossfire.jxclient.stats.Stats.setTitle().
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
|
private |
Sets the current Title.
title | the new Title content |
Definition at line 676 of file Stats.java.
References com.realtime.crossfire.jxclient.stats.Stats.title.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.reset(), and com.realtime.crossfire.jxclient.stats.Stats.setStatString().
|
private |
The active skill name.
Definition at line 512 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getActiveSkill(), and com.realtime.crossfire.jxclient.stats.Stats.setActiveSkill().
|
static |
The global experience needed to reach next level stat.
Definition at line 103 of file Stats.java.
|
static |
The Low Food indicator.
It ranges from 0 (ok) to 1 (low food).
Definition at line 143 of file Stats.java.
|
static |
The "is poisoned" indicator.
It ranges from 0 (not poisoned) to 1 (poisoned).
Definition at line 440 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.sound.StatsWatcher.checkStats(), com.realtime.crossfire.jxclient.stats.PoisonWatcher.setActive(), and com.realtime.crossfire.jxclient.sound.StatsWatcher.StatsWatcher().
|
static |
The character's weight.
Definition at line 189 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.items.ItemsManager.playerReceived(), and com.realtime.crossfire.jxclient.items.ItemsManager.upditemReceived().
|
static |
CS_NUM_SKILLS does not match how many skills there really are - instead, it is used as a range of values so that the client can have some idea how many skill categories there may be.
Definition at line 447 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processSkillInfoReplyinfo(), and com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
|
static |
The Armor Class stat.
Definition at line 118 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The charisma primary stat changes due to gear or skills.
Definition at line 309 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The constitution primary stat changes due to gear or skills.
Definition at line 304 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The dexterity primary stat changes due to gear or skills.
Definition at line 299 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The integer primary stat changes due to gear or skills.
Definition at line 289 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The power primary stat changes due to gear or skills.
Definition at line 314 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The strength primary stat changes due to gear or skills.
Definition at line 284 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The wisdom primary stat changes due to gear or skills.
Definition at line 294 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Armour stat.
Definition at line 128 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The charisma primary stat without boosts or depletions.
Definition at line 274 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The constitution primary stat without boosts or depletions.
Definition at line 269 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The dexterity primary stat without boosts or depletions.
Definition at line 264 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The integer primary stat without boosts or depletions.
Definition at line 254 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The power primary stat without boosts or depletions.
Definition at line 279 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The strength primary stat without boosts or depletions.
Definition at line 249 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The wisdom primary stat without boosts or depletions.
Definition at line 259 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Charisma Primary stat.
Definition at line 93 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Constitution Primary stat.
Definition at line 88 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Damage stat.
Definition at line 123 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Dexterity Primary stat.
Definition at line 83 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Global Experience (32bit encoding) stat.
Definition at line 98 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
The Global Experience (64bit encoding) stat.
Definition at line 194 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt8().
|
static |
The various flags used in stats.
Definition at line 179 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Food stat.
Definition at line 138 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The golem's hitpoints, 0 if no golem.
Definition at line 319 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt2(), and com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater.StatGaugeUpdater().
|
static |
The golem's maximum hitpoints, 0 if no golem.
Definition at line 324 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Grace stat.
Definition at line 169 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Hit Points stat.
Definition at line 48 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Intelligence Primary stat.
Definition at line 73 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Global Level stat.
Definition at line 108 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.sound.StatsWatcher.checkStats(), com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), com.realtime.crossfire.jxclient.stats.Stats.setStatInt2(), com.realtime.crossfire.jxclient.sound.StatsWatcher.StatsWatcher(), and com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater.updateExperienceNextLevel().
|
static |
The Maximum Grace stat.
Definition at line 174 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Maximum Hit Points stat.
Definition at line 53 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Maximum Spell Points stat.
Definition at line 63 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Power Primary stat.
Definition at line 164 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum charisma primary stat.
Definition at line 239 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum constitution primary stat.
Definition at line 234 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum dexterity primary stat.
Definition at line 229 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum intelligence primary stat.
Definition at line 219 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum power primary stat.
Definition at line 244 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum strength primary stat.
Definition at line 214 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The race's maximum wisdom primary stat.
Definition at line 224 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Range stat - this is what is currently readied by the player to fire.
Definition at line 154 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatString().
|
static |
Resistance to acid.
Definition at line 369 of file Stats.java.
|
static |
Resistance to blindness.
Definition at line 424 of file Stats.java.
|
static |
Resistance to cold.
Definition at line 359 of file Stats.java.
|
static |
Resistance to confusion.
Definition at line 364 of file Stats.java.
|
static |
Resistance to death.
Definition at line 414 of file Stats.java.
|
static |
Resistance to depletion.
Definition at line 409 of file Stats.java.
|
static |
Resistance to drain life.
Definition at line 374 of file Stats.java.
|
static |
Resistance to electricity.
Definition at line 354 of file Stats.java.
|
static |
Resistance to fear.
Definition at line 404 of file Stats.java.
|
static |
Resistance to fire.
Definition at line 349 of file Stats.java.
|
static |
Resistance to ghost hit.
Definition at line 379 of file Stats.java.
|
static |
Resistance to holy word.
Definition at line 419 of file Stats.java.
|
static |
Resistance to magical attacks.
Definition at line 344 of file Stats.java.
|
static |
Resistance to paralysis.
Definition at line 394 of file Stats.java.
|
static |
Resistance to physical attacks.
Definition at line 339 of file Stats.java.
|
static |
Resistance to poison.
Definition at line 384 of file Stats.java.
|
static |
Resistance to slowness.
Definition at line 389 of file Stats.java.
|
static |
Resistance to turn undead.
Definition at line 399 of file Stats.java.
|
static |
End index of the resistances.
Definition at line 334 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest().
|
static |
Beginning index of the resistances.
Definition at line 329 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), and com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
|
static |
CS_STAT_SKILLINFO is used as the starting index point.
Skill number->name map is generated dynamically for the client, so a bunch of entries will be used here.
Definition at line 454 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.skills.SkillSet.addSkill(), com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.skills.SkillSet.getSkill(), com.realtime.crossfire.jxclient.skills.SkillSet.getSkillId(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processSkillInfoReplyinfo(), and com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
|
static |
The Spell Points stat.
Definition at line 58 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Speed stat.
Definition at line 133 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
Attuned spell paths of a spell.
Definition at line 199 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.spells.Spell.getTooltipText(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
Denied spell paths of a spell.
Definition at line 209 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.spells.Spell.getTooltipText(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
Repelled spell paths of a spell.
Definition at line 204 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.spells.Spell.getTooltipText(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
The Strength Primary stat.
Definition at line 68 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Title stat.
Definition at line 159 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatString().
|
static |
The Weapon Class stat.
Definition at line 113 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
static |
The Weapon Speed stat.
Definition at line 148 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
The Weight Limit stat.
Definition at line 184 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt4().
|
static |
The Wisdom Primary stat.
Definition at line 78 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats(), and com.realtime.crossfire.jxclient.stats.Stats.setStatInt2().
|
private |
The total experience.
Definition at line 489 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getExperience(), and com.realtime.crossfire.jxclient.stats.Stats.setExperience().
|
private |
The ExperienceTable instance to use.
Definition at line 472 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.Stats().
|
private |
The experience needed to reach the next level.
Definition at line 494 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getExperienceNextLevel().
|
static |
Factor used to convert float to int values.
Definition at line 429 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getFloatStat().
|
private |
The GuiStateListener for detecting established or dropped connections.
Definition at line 526 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.Stats().
|
private |
The current value of the range stat.
Definition at line 500 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getRange(), and com.realtime.crossfire.jxclient.stats.Stats.setRange().
|
static |
The total number of resistances.
Definition at line 434 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.parseClassRaceInfoStats(), and com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processStats().
|
private |
Whether the CS_STAT_WEAP_SP value contains the weapon speed directly.
Definition at line 460 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.setSimpleWeaponSpeed().
|
private |
The SkillSet instance to use.
Definition at line 478 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.Stats().
|
private |
The current stat values.
Definition at line 484 of file Stats.java.
|
private |
The listeners to inform of stat changes.
Definition at line 466 of file Stats.java.
|
private |
The current value of the title stat.
Definition at line 506 of file Stats.java.
Referenced by com.realtime.crossfire.jxclient.stats.Stats.getTitle(), and com.realtime.crossfire.jxclient.stats.Stats.setTitle().
|
private |
All unhandled stat values for which an error has been printed.
Definition at line 518 of file Stats.java.