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, getSimTime
toJsonLiteral
protected 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)
MyInventoryStatic
setSimTime
in class MyInventoryStatic
public MyInventoryStaticImpl clone()
clone
in class MyInventoryStatic
public UnrealId getId()
getId
in interface IWorldObject
getId
in class MyInventoryStatic
public ItemType getType()
getType
in class MyInventoryStatic
public ItemDescriptor getDescriptor()
getDescriptor
in class MyInventoryStatic
public boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom
in interface IStaticWorldObject
isDifferentFrom
in class MyInventoryStatic
public String toString()
toString
in class MyInventoryStatic
public String toHtmlString()
toHtmlString
in class MyInventoryStatic
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.