public class MyInventoryMessage.MyInventoryLocalMessage extends MyInventoryLocal
SimTime| Constructor and Description |
|---|
MyInventoryMessage.MyInventoryLocalMessage() |
| Modifier and Type | Method and Description |
|---|---|
MyInventoryMessage.MyInventoryLocalMessage |
clone() |
int |
getAmount()
If this item is ammo or armor, this holds the amount of the item the player has.
|
int |
getCurrentAltAmmo()
If this item is a weapon, this holds the amount of secondary ammo.
|
int |
getCurrentAmmo()
If this item is a weapon, this holds the amount of primary ammo.
|
UnrealId |
getId()
Unique Id of the item.
|
MyInventoryMessage.MyInventoryLocalMessage |
getLocal() |
ISharedWorldObject |
getShared() |
IStaticWorldObject |
getStatic() |
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime, setSimTimetoJsonLiteralpublic MyInventoryMessage.MyInventoryLocalMessage()
public MyInventoryMessage.MyInventoryLocalMessage clone()
clone in interface ILocalWorldObjectclone in class MyInventoryLocalpublic MyInventoryMessage.MyInventoryLocalMessage getLocal()
getLocal in class MyInventoryLocalpublic ISharedWorldObject getShared()
getShared in class MyInventoryLocalpublic IStaticWorldObject getStatic()
getStatic in class MyInventoryLocalpublic UnrealId getId()
getId in interface IWorldObjectgetId in class MyInventoryLocalpublic int getCurrentAmmo()
getCurrentAmmo in class MyInventoryLocalpublic int getCurrentAltAmmo()
getCurrentAltAmmo in class MyInventoryLocalpublic int getAmount()
getAmount in class MyInventoryLocalpublic String toString()
toString in class MyInventoryLocalpublic String toHtmlString()
toHtmlString in class MyInventoryLocalCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.