Package games.stendhal.server.events
Class TextEvent
java.lang.Object
marauroa.common.game.Attributes
marauroa.common.game.SlotOwner
marauroa.common.game.RPEvent
games.stendhal.server.events.TextEvent
- All Implemented Interfaces:
Cloneable,Iterable<String>,Serializable
A public text message.
- Author:
- hendrik
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class marauroa.common.game.RPEvent
clone, equals, fill, getName, hashCode, readObject, setOwner, toString, writeObject, writeObjectMethods inherited from class marauroa.common.game.SlotOwner
addSlot, addSlot, deserializeRPSlots, fill, getSlot, hasSlot, removeSlot, serializeRPSlots, slots, slotsIterator, writeToJsonMethods 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, toAttributeStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TextEvent
Creates a new text event.- Parameters:
text- Message contents.
-
TextEvent
Creates a new text event.- Parameters:
text- Message contents.rangeSquared- Distance squared within which message can be heard (-1 represents entire map).
-
-
Method Details
-
generateRPClass
public static void generateRPClass()Creates the rpclass.
-