22 package com.realtime.crossfire.jxclient.skin.io;
33 import java.io.IOException;
34 import org.jetbrains.annotations.NotNull;
83 }
catch (
final IllegalArgumentException ignored) {
87 if (name.startsWith(
"SKILL_")) {
91 if (name.startsWith(
"ACTIVE_SKILL_")) {
95 throw new IOException(
"invalid stat name: "+name);
final ItemSet itemSet
The ItemSet to use.
final Stats stats
The Stats instance to use.
Skill getNamedSkill(@NotNull final String skillName, final int face)
Returns the skill instance for a given skill name.
final SkillSet skillSet
The SkillSet for looking up skill names.
GaugeUpdaterParser(@NotNull final Stats stats, @NotNull final ItemSet itemSet, @NotNull final SkillSet skillSet)
Creates a new instance.
Utility class to parse stat names.
Creates GaugeUpdater instances from string representations.
A GaugeUpdater which monitors a skill.
GaugeUpdater parseGaugeUpdater(@NotNull final String name, @NotNull final ExperienceTable experienceTable)
Parses a gauge updater value.
A GaugeUpdater which monitors a stat value.
Updates the displayed values in a GUIGauge.
Stores experience <-> level mappings.
Model class maintaining the CfItems known to the player.
This is the representation of all the statistics of a player, like its speed or its experience...
Maintain the set of skills as sent by the server.
static int parseStat(@NotNull final String name)
Converts a stat name into a stat index.
A GaugeUpdater which monitors a stat value.