Crossfire JXClient, Trunk
Public Member Functions | Public Attributes | Private Attributes | List of all members
com.realtime.crossfire.jxclient.gui.label.NewcharStat Enum Reference
Collaboration diagram for com.realtime.crossfire.jxclient.gui.label.NewcharStat:
Collaboration graph

Public Member Functions

String getName ()
 
int getPriority ()
 
int getStat ()
 
String getStatName ()
 
 NewcharStat (final int stat, @NotNull final String name, @NotNull final String statName, final int priority)
 

Public Attributes

 CHA =(Stats.CS_STAT_CHA, "charisma", "Cha", NewCharModel.PRIORITY_INVALID_STAT_CHA)
 
 CON =(Stats.CS_STAT_CON, "constitution", "Con", NewCharModel.PRIORITY_INVALID_STAT_CON)
 
 DEX =(Stats.CS_STAT_DEX, "dexterity", "Dex", NewCharModel.PRIORITY_INVALID_STAT_DEX)
 
 INT =(Stats.CS_STAT_INT, "intelligence", "Int", NewCharModel.PRIORITY_INVALID_STAT_INT)
 
 POW =(Stats.CS_STAT_POW, "power", "Pow", NewCharModel.PRIORITY_INVALID_STAT_POW)
 
 STR =(Stats.CS_STAT_STR, "strength", "Str", NewCharModel.PRIORITY_INVALID_STAT_STR)
 
 WIS =(Stats.CS_STAT_WIS, "wisdom", "Wis", NewCharModel.PRIORITY_INVALID_STAT_WIS)
 

Private Attributes

final String name
 
final int priority
 
final int stat
 
final String statName
 

Detailed Description

A stat value.

Author
Andreas Kirschbaum

Definition at line 32 of file NewcharStat.java.

Constructor & Destructor Documentation

◆ NewcharStat()

com.realtime.crossfire.jxclient.gui.label.NewcharStat.NewcharStat ( final int  stat,
@NotNull final String  name,
@NotNull final String  statName,
final int  priority 
)

Creates a new instance.

Parameters
statthe stat
namethe display name
statNamethe statname in the createplayer command
prioritythe display priority of the related error message

Definition at line 98 of file NewcharStat.java.

Member Function Documentation

◆ getName()

String com.realtime.crossfire.jxclient.gui.label.NewcharStat.getName ( )

Returns the display name.

Returns
the display name

Definition at line 118 of file NewcharStat.java.

Referenced by com.realtime.crossfire.jxclient.gui.label.GUINewcharLabel.updateContents().

Here is the caller graph for this function:

◆ getPriority()

int com.realtime.crossfire.jxclient.gui.label.NewcharStat.getPriority ( )

Returns the display priority of the related error message.

Returns
the display priority

Definition at line 135 of file NewcharStat.java.

Referenced by com.realtime.crossfire.jxclient.gui.label.GUINewcharLabel.updateContents().

Here is the caller graph for this function:

◆ getStat()

int com.realtime.crossfire.jxclient.gui.label.NewcharStat.getStat ( )

Returns the stat.

Returns
the stat

Definition at line 109 of file NewcharStat.java.

◆ getStatName()

String com.realtime.crossfire.jxclient.gui.label.NewcharStat.getStatName ( )

Returns the statname in the ceateplayer command.

Returns
the statname

Definition at line 127 of file NewcharStat.java.

Member Data Documentation

◆ CHA

com.realtime.crossfire.jxclient.gui.label.NewcharStat.CHA =(Stats.CS_STAT_CHA, "charisma", "Cha", NewCharModel.PRIORITY_INVALID_STAT_CHA)

Charisma.

Definition at line 67 of file NewcharStat.java.

◆ CON

com.realtime.crossfire.jxclient.gui.label.NewcharStat.CON =(Stats.CS_STAT_CON, "constitution", "Con", NewCharModel.PRIORITY_INVALID_STAT_CON)

Constitution.

Definition at line 47 of file NewcharStat.java.

◆ DEX

com.realtime.crossfire.jxclient.gui.label.NewcharStat.DEX =(Stats.CS_STAT_DEX, "dexterity", "Dex", NewCharModel.PRIORITY_INVALID_STAT_DEX)

Dexterity.

Definition at line 42 of file NewcharStat.java.

◆ INT

com.realtime.crossfire.jxclient.gui.label.NewcharStat.INT =(Stats.CS_STAT_INT, "intelligence", "Int", NewCharModel.PRIORITY_INVALID_STAT_INT)

Intelligence.

Definition at line 52 of file NewcharStat.java.

◆ name

final String com.realtime.crossfire.jxclient.gui.label.NewcharStat.name
private

The display name.

Definition at line 78 of file NewcharStat.java.

◆ POW

com.realtime.crossfire.jxclient.gui.label.NewcharStat.POW =(Stats.CS_STAT_POW, "power", "Pow", NewCharModel.PRIORITY_INVALID_STAT_POW)

Power.

Definition at line 62 of file NewcharStat.java.

◆ priority

final int com.realtime.crossfire.jxclient.gui.label.NewcharStat.priority
private

The display priority of the related error message.

Definition at line 89 of file NewcharStat.java.

◆ stat

final int com.realtime.crossfire.jxclient.gui.label.NewcharStat.stat
private

The stat.

Definition at line 72 of file NewcharStat.java.

◆ statName

final String com.realtime.crossfire.jxclient.gui.label.NewcharStat.statName
private

The statname in the createplayer command.

Definition at line 84 of file NewcharStat.java.

◆ STR

com.realtime.crossfire.jxclient.gui.label.NewcharStat.STR =(Stats.CS_STAT_STR, "strength", "Str", NewCharModel.PRIORITY_INVALID_STAT_STR)

Strength.

Definition at line 37 of file NewcharStat.java.

◆ WIS

com.realtime.crossfire.jxclient.gui.label.NewcharStat.WIS =(Stats.CS_STAT_WIS, "wisdom", "Wis", NewCharModel.PRIORITY_INVALID_STAT_WIS)

Wisdom.

Definition at line 57 of file NewcharStat.java.


The documentation for this enum was generated from the following file: