Crossfire JXClient, Trunk
Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
com.realtime.crossfire.jxclient.spells.SpellPaths Class Reference
Collaboration diagram for com.realtime.crossfire.jxclient.spells.SpellPaths:
Collaboration graph

Static Public Member Functions

static void appendSpellPaths (final int path, @NotNull final StringBuilder sb)
 

Private Member Functions

 SpellPaths ()
 

Static Private Member Functions

static int appendSpellPath (final int paths, final int path, @NotNull final String description, @NotNull final StringBuilder sb)
 

Static Private Attributes

static final int PATH_ABJURE = 0x00000080
 
static final int PATH_CREATE = 0x00000800
 
static final int PATH_DEATH = 0x00040000
 
static final int PATH_DETONATE = 0x00000200
 
static final int PATH_ELEC = 0x00000008
 
static final int PATH_FIRE = 0x00000002
 
static final int PATH_FROST = 0x00000004
 
static final int PATH_INFO = 0x00002000
 
static final int PATH_LIGHT = 0x00080000
 
static final int PATH_MIND = 0x00000400
 
static final int PATH_MISSILE = 0x00000010
 
static final int PATH_PROT = 0x00000001
 
static final int PATH_RESTORE = 0x00000100
 
static final int PATH_SELF = 0x00000020
 
static final int PATH_SUMMON = 0x00000040
 
static final int PATH_TELE = 0x00001000
 
static final int PATH_TRANSFER = 0x00008000
 
static final int PATH_TRANSMUTE = 0x00004000
 
static final int PATH_TURNING = 0x00010000
 
static final int PATH_WOUNDING = 0x00020000
 
static int warningPaths
 

Detailed Description

Utility class for spell path related functions.

Definition at line 30 of file SpellPaths.java.

Constructor & Destructor Documentation

◆ SpellPaths()

com.realtime.crossfire.jxclient.spells.SpellPaths.SpellPaths ( )
private

Private constructor to prevent instantiation.

Definition at line 141 of file SpellPaths.java.

Member Function Documentation

◆ appendSpellPath()

static int com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPath ( final int  paths,
final int  path,
@NotNull final String  description,
@NotNull final StringBuilder  sb 
)
staticprivate

Appends a spell path description.

Parameters
pathsthe spell paths bitmask
paththe spell path to check
descriptionthe description to add if
path
is set
sbthe string builder to append to
Returns
the spell paths bitmask without
path

Definition at line 188 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

Here is the caller graph for this function:

◆ appendSpellPaths()

static void com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths ( final int  path,
@NotNull final StringBuilder  sb 
)
static

Appends a human-readable description of a set of spell paths to a StringBuilder instance.

Parameters
paththe spell paths bitmask
sbthe string builder instance

Definition at line 150 of file SpellPaths.java.

References com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPath(), com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_ABJURE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_CREATE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_DEATH, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_DETONATE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_ELEC, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_FIRE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_FROST, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_INFO, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_LIGHT, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_MIND, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_MISSILE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_PROT, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_RESTORE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_SELF, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_SUMMON, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TELE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TRANSFER, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TRANSMUTE, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TURNING, com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_WOUNDING, and com.realtime.crossfire.jxclient.spells.SpellPaths.warningPaths.

Referenced by com.realtime.crossfire.jxclient.spells.Spell.getTooltipText().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ PATH_ABJURE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_ABJURE = 0x00000080
staticprivate

The bitmask for the spell path "abjuration".

Definition at line 70 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_CREATE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_CREATE = 0x00000800
staticprivate

The bitmask for the spell path "creation".

Definition at line 90 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_DEATH

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_DEATH = 0x00040000
staticprivate

The bitmask for the spell path "death".

Definition at line 125 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_DETONATE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_DETONATE = 0x00000200
staticprivate

The bitmask for the spell path "detonation".

Definition at line 80 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_ELEC

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_ELEC = 0x00000008
staticprivate

The bitmask for the spell path "electricity".

Definition at line 50 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_FIRE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_FIRE = 0x00000002
staticprivate

The bitmask for the spell path "fire".

Definition at line 40 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_FROST

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_FROST = 0x00000004
staticprivate

The bitmask for the spell path "frost".

Definition at line 45 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_INFO

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_INFO = 0x00002000
staticprivate

The bitmask for the spell path "information".

Definition at line 100 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_LIGHT

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_LIGHT = 0x00080000
staticprivate

The bitmask for the spell path "light".

Definition at line 130 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_MIND

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_MIND = 0x00000400
staticprivate

The bitmask for the spell path "mind".

Definition at line 85 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_MISSILE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_MISSILE = 0x00000010
staticprivate

The bitmask for the spell path "missile".

Definition at line 55 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_PROT

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_PROT = 0x00000001
staticprivate

The bitmask for the spell path "protection".

Definition at line 35 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_RESTORE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_RESTORE = 0x00000100
staticprivate

The bitmask for the spell path "restoration".

Definition at line 75 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_SELF

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_SELF = 0x00000020
staticprivate

The bitmask for the spell path "self".

Definition at line 60 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_SUMMON

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_SUMMON = 0x00000040
staticprivate

The bitmask for the spell path "summoning".

Definition at line 65 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_TELE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TELE = 0x00001000
staticprivate

The bitmask for the spell path "teleportation".

Definition at line 95 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_TRANSFER

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TRANSFER = 0x00008000
staticprivate

The bitmask for the spell path "transfer".

Definition at line 110 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_TRANSMUTE

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TRANSMUTE = 0x00004000
staticprivate

The bitmask for the spell path "transmute".

Definition at line 105 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_TURNING

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_TURNING = 0x00010000
staticprivate

The bitmask for the spell path "turning".

Definition at line 115 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ PATH_WOUNDING

final int com.realtime.crossfire.jxclient.spells.SpellPaths.PATH_WOUNDING = 0x00020000
staticprivate

The bitmask for the spell path "wounding".

Definition at line 120 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().

◆ warningPaths

int com.realtime.crossfire.jxclient.spells.SpellPaths.warningPaths
staticprivate

The unrecognized spell paths for which a warning to the console has been printed.

Definition at line 136 of file SpellPaths.java.

Referenced by com.realtime.crossfire.jxclient.spells.SpellPaths.appendSpellPaths().


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