public class AccountPlayerBuilder
extends java.lang.Object
CharacterInformation
instances while parsing an
"accountplayers" packet.Constructor and Description |
---|
AccountPlayerBuilder() |
Modifier and Type | Method and Description |
---|---|
@NotNull CharacterInformation |
finish()
Finishes parsing an entry an returns the
CharacterInformation for
the entry. |
void |
setClass(@NotNull java.lang.String cClass)
Sets the character's class.
|
void |
setFace(@NotNull java.lang.String face)
Sets the character's face.
|
void |
setFaceNumber(int faceNumber)
Sets the character's face number.
|
void |
setLevel(int level)
Sets the character's level.
|
void |
setMap(@NotNull java.lang.String map)
Sets the character's map.
|
void |
setName(@NotNull java.lang.String name)
Sets the character's name.
|
void |
setParty(@NotNull java.lang.String party)
Sets the character's party.
|
void |
setRace(@NotNull java.lang.String race)
Sets the character's race.
|
@NotNull public @NotNull CharacterInformation finish()
CharacterInformation
for
the entry.public void setName(@NotNull @NotNull java.lang.String name)
name
- the character's namepublic void setClass(@NotNull @NotNull java.lang.String cClass)
cClass
- the character's classpublic void setRace(@NotNull @NotNull java.lang.String race)
race
- the character's racepublic void setLevel(int level)
level
- the character's levelpublic void setFace(@NotNull @NotNull java.lang.String face)
face
- the character's facepublic void setParty(@NotNull @NotNull java.lang.String party)
party
- the character's partypublic void setMap(@NotNull @NotNull java.lang.String map)
map
- the character's mappublic void setFaceNumber(int faceNumber)
faceNumber
- the character's face number