public class LostInventory extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
protected String |
Id
Id of the inventory lost.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
| Constructor and Description |
|---|
LostInventory()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
LostInventory(LostInventory original)
Cloning constructor.
|
LostInventory(String Id)
Creates new instance of command LostInventory.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Id of the inventory lost.
|
long |
getSimTime() |
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected String Id
public LostInventory(String Id)
Id - Id of the inventory lost.public LostInventory(LostInventory original)
public LostInventory()
public String getId()
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class InfoMessagepublic String toHtmlString()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.