Package games.stendhal.server.events
Class BestiaryEvent
java.lang.Object
marauroa.common.game.Attributes
marauroa.common.game.SlotOwner
marauroa.common.game.RPEvent
games.stendhal.server.events.BestiaryEvent
- All Implemented Interfaces:
Cloneable
,Iterable<String>
,Serializable
An event to show which creatures a player has killed.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBestiaryEvent(Player player)
Creates a new bestiary event.BestiaryEvent(Player player, boolean includeRare, boolean includeAbnormal)
Creates a new bestiary event. -
Method Summary
Methods inherited from class marauroa.common.game.RPEvent
clone, equals, fill, getName, hashCode, readObject, setOwner, toString, writeObject, writeObject
Methods inherited from class marauroa.common.game.SlotOwner
addSlot, addSlot, deserializeRPSlots, fill, getSlot, hasSlot, removeSlot, serializeRPSlots, slots, slotsIterator, writeToJson
Methods inherited from class marauroa.common.game.Attributes
add, applyDifferences, clearVisible, get, getBool, getDouble, getInt, getList, getLong, getRPClass, has, instanceOf, isEmpty, iterator, put, put, put, put, put, readFromMap, remove, resetAddedAndDeletedAttributes, setAddedAttributes, setDeletedAttributes, setRPClass, setRPClass, size, toAttributeString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BestiaryEvent
Creates a new bestiary event.- Parameters:
player
- Player from whom the bestiary is requested.
-
BestiaryEvent
Creates a new bestiary event.- Parameters:
player
- Player from whom the bestiary is requested.includeRare
- Iftrue
, creatures marked as "rare" will be included.includeAbnormal
- Iftrue
, creatures marked as "abnormal" will be included.
-
-
Method Details
-
generateRPClass
public static void generateRPClass()Creates the rpclass.
-