22 package com.realtime.crossfire.jxclient.skin.events;
28 import org.jetbrains.annotations.NotNull;
29 import org.jetbrains.annotations.Nullable;
62 public void itemAdded(@NotNull
final CfItem item) {
67 public void itemMoved(@NotNull
final CfItem item) {
72 public void itemChanged(@NotNull
final CfItem item) {
77 public void itemRemoved(@NotNull
final CfItem item) {
82 public void playerChanged(@Nullable
final CfItem player) {
96 public void openContainerChanged(
final int tag) {
void dispose()
Will be called when the skin is disposed.Should release resources.
Interface for events attached to skins.
void addItemSetListener(@NotNull final ItemSetListener listener)
Adds an ItemSetListener to be notified about changes.
A SkinEvent that executes a CommandList at connection setup.
void removeItemSetListener(@NotNull final ItemSetListener listener)
Removes an ItemSetListener to be notified about changes.
Interface for listeners in ItemSet related events.
PlayerLoginSkinEvent(final boolean login, @NotNull final CommandList commandList, @NotNull final ItemSet itemSet)
Creates a new instance.
final ItemSetListener itemSetListener
The ItemSetListener attached to itemSet.
final CommandList commandList
The CommandList to execute.
final boolean login
Whether to generate login events (.
Model class maintaining the CfItems known to the player.
A list of GUICommand instances.
final ItemSet itemSet
The ItemSet to watch.
The representation of a Crossfire Item, client-side.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.