public class AddInventory extends CommandMessage
Modifier and Type | Field and Description |
---|---|
protected UnrealId |
Id
Id of the target bot.
|
protected String |
Type
Class of the item we want to add.
|
Constructor and Description |
---|
AddInventory()
Creates new instance of command AddInventory.
|
AddInventory(AddInventory original)
Cloning constructor.
|
AddInventory(UnrealId Id,
String Type)
Creates new instance of command AddInventory.
|
Modifier and Type | Method and Description |
---|---|
UnrealId |
getId()
Id of the target bot.
|
String |
getType()
Class of the item we want to add.
|
AddInventory |
setId(UnrealId Id)
Id of the target bot.
|
AddInventory |
setType(String Type)
Class of the item we want to add.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
protected UnrealId Id
protected String Type
public AddInventory(UnrealId Id, String Type)
Id
- Id of the target bot. Is used just when sending command to
the server. If sending command to the bot Id is ignored and
ADDINV command is executed on the bot (if bAllowCheats ==
True).Type
- Class of the item we want to add. Must be pickup class (e.g.
LinkGun.WeaponPickup).public AddInventory()
public AddInventory(AddInventory original)
public UnrealId getId()
public AddInventory setId(UnrealId Id)
public String getType()
public AddInventory setType(String Type)
public String toString()
toString
in class 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.