Crossfire JXClient, Trunk
R20561
|
A CfItem that represents a character. More...
Public Member Functions | |
CfPlayer (final int tag, final int weight, @NotNull final Face face, @NotNull final String name) | |
Creates a new instance. More... | |
![]() | |
void | addCfItemModifiedListener (@NotNull final CfItemListener listener) |
Add a. More... | |
CfItem (final int location, final int tag, final int flags, final int weight, @NotNull final Face face, @NotNull final String name, @NotNull final String namePl, final int anim, final int animSpeed, final int nrof, final int type) | |
Creates a new instance. More... | |
Face | getFace () |
Returns the face. More... | |
int | getLocation () |
Returns the location. More... | |
String | getName () |
Returns the name. More... | |
int | getNrOf () |
Returns the number of objects in this item stack. More... | |
int | getTag () |
Returns the tag. More... | |
String | getTooltipText () |
Returns a description suitable for a tooltip text. More... | |
String | getTooltipText1 () |
Returns the first line of the tooltip text. More... | |
String | getTooltipText2 () |
Returns the second line of the tooltip text. More... | |
String | getTooltipText3 () |
Returns the third line of the tooltip text. More... | |
int | getType () |
Returns the type. More... | |
int | getWeight () |
Returns the weight. More... | |
boolean | isApplied () |
Returns whether this item is applied. More... | |
boolean | isBlessed () |
Returns whether this item is blessed. More... | |
boolean | isCursed () |
Returns whether this item is cursed. More... | |
boolean | isDamned () |
Returns whether this item is damned. More... | |
boolean | isItemGroupButton () |
Returns whether this object is a fake object for selecting object groups in the ground view. More... | |
boolean | isLocked () |
Returns whether this item is locked. More... | |
boolean | isMagic () |
Returns whether this item is magical. More... | |
boolean | isNoPick () |
Returns whether this item cannot be picked up. More... | |
boolean | isOpen () |
Returns whether this item is an opened container. More... | |
boolean | isUnidentified () |
Returns whether this item is unidentified. More... | |
boolean | isUnpaid () |
Returns whether this item is unpaid. More... | |
void | removeCfItemModifiedListener (@NotNull final CfItemListener listener) |
Remove a. More... | |
void | setLocation (final int location) |
Updates the location. More... | |
void | update (final int updateFlags, final int flags, final int weight, @NotNull final Face face, @NotNull final String name, @NotNull final String namePl, final int anim, final int animSpeed, final int nrof) |
Processes an "upditem" command. More... | |
Additional Inherited Members | |
![]() | |
static final int | F_APPLIED = 0x000F |
The flags mask for applied states. More... | |
static final int | F_BLESSED = 0x0100 |
The flags value for blessed items. More... | |
static final int | F_CURSED = 0x0800 |
The flags value for cursed items. More... | |
static final int | F_DAMNED = 0x1000 |
The flags value for damned items. More... | |
static final int | F_LOCKED = 0x8000 |
The flags value for locked items. More... | |
static final int | F_MAGIC = 0x0400 |
The flags value for magical items. More... | |
static final int | F_NOPICK = 0x4000 |
The flags value for non-pickable items. More... | |
static final int | F_OPEN = 0x2000 |
The flags value for opened items. More... | |
static final int | F_UNIDENTIFIED = 0x0010 |
The flags value for unidentified items. More... | |
static final int | F_UNPAID = 0x0200 |
The flags value for unpaid items. More... | |
A CfItem that represents a character.
Definition at line 31 of file CfPlayer.java.
com.realtime.crossfire.jxclient.items.CfPlayer.CfPlayer | ( | final int | tag, |
final int | weight, | ||
@NotNull final Face | face, | ||
@NotNull final String | name | ||
) |
Creates a new instance.
tag | the character's item tag |
weight | the character's weight |
face | the character's face |
name | the character's name |
Definition at line 40 of file CfPlayer.java.