Package games.stendhal.server.events
Class GroupChangeEvent
java.lang.Object
marauroa.common.game.Attributes
marauroa.common.game.SlotOwner
marauroa.common.game.RPEvent
games.stendhal.server.events.GroupChangeEvent
- All Implemented Interfaces:
Cloneable
,Iterable<String>
,Serializable
The group has changed (players added, removed, etc)
- Author:
- hendrik
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new empty group change event for leaving a group.GroupChangeEvent(String leader, List<String> members, String lootmode)
Creates a new group change 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
-
GroupChangeEvent
public GroupChangeEvent()Creates a new empty group change event for leaving a group. -
GroupChangeEvent
Creates a new group change event.- Parameters:
leader
- leader of the groupmembers
- list of memberslootmode
- lootmode "single" or "shared"
-
-
Method Details
-
generateRPClass
public static void generateRPClass()Creates the rpclass.
-