Package games.stendhal.server.events
Class ProgressStatusEvent
java.lang.Object
marauroa.common.game.Attributes
marauroa.common.game.SlotOwner
marauroa.common.game.RPEvent
games.stendhal.server.events.ProgressStatusEvent
- All Implemented Interfaces:
Cloneable
,Iterable<String>
,Serializable
tell the client about the progress of the players for quests or producers
- Author:
- hendrik
-
Field Summary
-
Constructor Summary
ConstructorDescriptionProgressStatusEvent(String type, String item, String description, String information, List<String> data)
creates a new ProgressStatusEventcreates a new ProgressStatusEventProgressStatusEvent(String type, List<String> items)
creates a new ProgressStatusEventProgressStatusEvent(List<String> progressTypes)
creates a new ProgressStatusEvent -
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
-
ProgressStatusEvent
creates a new ProgressStatusEvent- Parameters:
progressTypes
- list of progressTypes supported
-
ProgressStatusEvent
creates a new ProgressStatusEvent- Parameters:
type
- type of status (open_quests, completed_quests, producing, ...)items
- list of items to display
-
ProgressStatusEvent
creates a new ProgressStatusEvent- Parameters:
type
- type of status (open_quests, completed_quests, producing, ...)item
- the selected itemdescription
- descriptiondata
- details for the selected item
-
ProgressStatusEvent
public ProgressStatusEvent(String type, String item, String description, String information, List<String> data)creates a new ProgressStatusEvent- Parameters:
type
- type of status (open_quests, completed_quests, producing, ...)item
- the selected itemdescription
- descriptioninformation
- information e. g. quest too dangerousdata
- details for the selected item
-
-
Method Details
-
generateRPClass
public static void generateRPClass()Creates the rpclass.
-