Package games.stendhal.client.listener
Interface RPObjectChangeListener
- All Known Implementing Classes:
ActiveEntity
,Block
,Blood
,BossCreature
,Box
,BreakableRing
,CarrotGrower
,Chest
,Corpse
,Creature
,DomesticAnimal
,Door
,Entity
,Fire
,FlyOverArea
,Food
,GameBoard
,GameObjects
,GrainField
,HousePortal
,InvisibleEntity
,Item
,LoopedSoundSource
,NPC
,Pet
,PlantGrower
,Player
,Portal
,Ring
,RPEntity
,Sheep
,SheepFood
,Sign
,Spell
,StackableItem
,StatefulEntity
,UseableItem
,UseableRing
,User
,UserContext
,WalkBlocker
,Wall
public interface RPObjectChangeListener
A listener of RPObject changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
An object was added.void
onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
An object was removed.void
onSlotAdded(RPObject object, String slotName, RPObject sobject)
A slot object was added.void
onSlotChangedAdded(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object added/changed attribute(s).void
onSlotChangedRemoved(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object removed attribute(s).void
onSlotRemoved(RPObject object, String slotName, RPObject sobject)
A slot object was removed.
-
Method Details
-
onAdded
An object was added.- Parameters:
object
- The object.
-
onChangedAdded
The object added/changed attribute(s).- Parameters:
object
- The base object.changes
- The changes.
-
onChangedRemoved
The object removed attribute(s).- Parameters:
object
- The base object.changes
- The changes.
-
onRemoved
An object was removed.- Parameters:
object
- The object.
-
onSlotAdded
A slot object was added.- Parameters:
object
- The container object.slotName
- The slot name.sobject
- The slot object.
-
onSlotChangedAdded
A slot object added/changed attribute(s).- Parameters:
object
- The base container object.slotName
- The container's slot name.sobject
- The slot object.schanges
- The slot object changes.
-
onSlotChangedRemoved
A slot object removed attribute(s).- Parameters:
object
- The base container object.slotName
- The container's slot name.sobject
- The slot object.schanges
- The slot object changes.
-
onSlotRemoved
A slot object was removed.- Parameters:
object
- The container object.slotName
- The slot name.sobject
- The slot object.
-