public class GiveInventory
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
Modifier and Type | Field and Description |
---|---|
protected String |
ItemId
Id of the item in the inventory chain of the giver.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Target
Id of the receiving bot.
|
Constructor and Description |
---|
GiveInventory()
Creates new instance of command GiveInventory.
|
GiveInventory(GiveInventory original)
Cloning constructor.
|
GiveInventory(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target,
String ItemId)
Creates new instance of command GiveInventory.
|
Modifier and Type | Method and Description |
---|---|
String |
getItemId()
Id of the item in the inventory chain of the giver.
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getTarget()
Id of the receiving bot.
|
GiveInventory |
setItemId(String ItemId)
Id of the item in the inventory chain of the giver.
|
GiveInventory |
setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
Id of the receiving bot.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target
protected String ItemId
public GiveInventory(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target, String ItemId)
Target
- Id of the receiving bot.ItemId
- Id of the item in the inventory chain of the giver.public GiveInventory()
public GiveInventory(GiveInventory original)
original
- public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getTarget()
public GiveInventory setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
public String getItemId()
public GiveInventory setItemId(String ItemId)
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.