 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.server.crossfire;
26 import java.util.ArrayList;
27 import java.util.Arrays;
28 import java.util.List;
29 import org.jetbrains.annotations.NotNull;
57 private final List<String>
statNames =
new ArrayList<>();
107 this.statNames.clear();
108 this.statNames.addAll(Arrays.asList(
statNames));
final List< String > statNames
The stat names to set.
boolean raceChoice
Whether a race should be selected.
void setStatNames(@NotNull final String @NotNull[] statNames)
Sets the stat names to spend on.
void setClassChoice()
Sets that a class should be selected.
boolean classChoice
Whether a class should be selected.
General information for creating new characters.
void setPoints(final int points)
Sets the number of points the character has to spend.
int points
The total number of points the character has to spend.
NewCharInfo finish()
Finished parsing and returns the NewCharInfo instance for the parsed entry.
boolean startingMapChoice
Whether a starting map should be selected.
void setStatRange(final int minValue, final int maxValue)
Sets the allowed stat value range.
int maxValue
The maximum value for stats.
void setStartingMapChoice()
Sets that a starting map should be selected.
void setRaceChoice()
Sets that a race should be selected.
Builder for NewCharInfo instances while parsing a "replyinfo newcharinfo" response packet.
int minValue
The minimum value for stats.