public interface CrossfireUpdateItemListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
addItemReceived(int location,
int tag,
int flags,
int weight,
int faceNum,
@NotNull java.lang.String name,
@NotNull java.lang.String namePl,
int anim,
int animSpeed,
int nrof,
int type)
An "additem" has been received.
|
void |
delinvReceived(int tag)
A "delinv" command has been received.
|
void |
delitemReceived(int[] tags)
A "delitem" command has been received.
|
void |
playerReceived(int tag,
int weight,
int faceNum,
@NotNull java.lang.String name)
A "player" command has been received.
|
void |
upditemReceived(int flags,
int tag,
int valLocation,
int valFlags,
int valWeight,
int valFaceNum,
@NotNull java.lang.String valName,
@NotNull java.lang.String valNamePl,
int valAnim,
int valAnimSpeed,
int valNrof)
An "upditem" command has been received.
|
void delinvReceived(int tag)
tag
- the item tagvoid delitemReceived(int[] tags)
tags
- the item tagsvoid addItemReceived(int location, int tag, int flags, int weight, int faceNum, @NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String namePl, int anim, int animSpeed, int nrof, int type)
location
- the item's locationtag
- the item tagflags
- the item's flagsweight
- the item's weightfaceNum
- the item's face IDname
- the item's singular namenamePl
- the item's plural nameanim
- the item's animation IDanimSpeed
- the item's animation speednrof
- the number of itemstype
- the item's typevoid playerReceived(int tag, int weight, int faceNum, @NotNull @NotNull java.lang.String name)
tag
- the player's taqweight
- the player's weightfaceNum
- the player's face IDname
- the player's namevoid upditemReceived(int flags, int tag, int valLocation, int valFlags, int valWeight, int valFaceNum, @NotNull @NotNull java.lang.String valName, @NotNull @NotNull java.lang.String valNamePl, int valAnim, int valAnimSpeed, int valNrof)
flags
- the changed valuestag
- the item's tagvalLocation
- the item's locationvalFlags
- the item's flagsvalWeight
- the item's weightvalFaceNum
- the item's face IDvalName
- the item's singular namevalNamePl
- the item's plural namevalAnim
- the item's animation IDvalAnimSpeed
- the item's animation speedvalNrof
- the number of items