public class MyInventoryStaticImpl extends MyInventoryStatic
| Modifier and Type | Class and Description |
|---|---|
static class |
MyInventoryStaticImpl.MyInventoryStaticUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected ItemDescriptor |
Descriptor
Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.
|
protected UnrealId |
Id
Unique Id of the item.
|
protected ItemType |
Type
Class of the item (e.g.
|
SimTime| Constructor and Description |
|---|
MyInventoryStaticImpl()
Parameter-less contructor for the message.
|
MyInventoryStaticImpl(MyInventory original)
Cloning constructor from the full message.
|
MyInventoryStaticImpl(MyInventoryStatic original)
Cloning constructor from the message part.
|
MyInventoryStaticImpl(MyInventoryStaticImpl original)
Cloning constructor from the full message.
|
MyInventoryStaticImpl(UnrealId Id,
ItemType Type,
ItemDescriptor Descriptor)
Creates new instance of the message MyInventory.
|
| Modifier and Type | Method and Description |
|---|---|
MyInventoryStaticImpl |
clone() |
ItemDescriptor |
getDescriptor()
Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.
|
UnrealId |
getId()
Unique Id of the item.
|
ItemType |
getType()
Class of the item (e.g.
|
boolean |
isDifferentFrom(IStaticWorldObject other) |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTimetoJsonLiteralprotected UnrealId Id
protected ItemType Type
protected ItemDescriptor Descriptor
public MyInventoryStaticImpl()
public MyInventoryStaticImpl(UnrealId Id, ItemType Type, ItemDescriptor Descriptor)
Id - Unique Id of the item. This Id represents the item in the inventory.Type - Class of the item (e.g. xWeapons.FlakCannonPickup).Descriptor - Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.public MyInventoryStaticImpl(MyInventory original)
original - public MyInventoryStaticImpl(MyInventoryStaticImpl original)
original - public MyInventoryStaticImpl(MyInventoryStatic original)
original - public void setSimTime(long SimTime)
MyInventoryStaticsetSimTime in class MyInventoryStaticpublic MyInventoryStaticImpl clone()
clone in class MyInventoryStaticpublic UnrealId getId()
getId in interface IWorldObjectgetId in class MyInventoryStaticpublic ItemType getType()
getType in class MyInventoryStaticpublic ItemDescriptor getDescriptor()
getDescriptor in class MyInventoryStaticpublic boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom in interface IStaticWorldObjectisDifferentFrom in class MyInventoryStaticpublic String toString()
toString in class MyInventoryStaticpublic String toHtmlString()
toHtmlString in class MyInventoryStaticCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.