|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MyInventoryStatic cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MyInventoryStaticImpl
public class MyInventoryStaticImpl
Implementation of the static part of the GameBots2004 message MYINV.
Complete message documentation: An object in the observed player's inventory.
Nested Class Summary | |
---|---|
static class |
MyInventoryStaticImpl.MyInventoryStaticUpdate
|
Field Summary | |
---|---|
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. |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MyInventoryStatic |
---|
SimTime |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MyInventoryStatic |
---|
getCompositeClass, getSimTime |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected UnrealId Id
protected ItemType Type
protected ItemDescriptor Descriptor
Constructor Detail |
---|
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
- Method Detail |
---|
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 java.lang.String toString()
toString
in class MyInventoryStatic
public java.lang.String toHtmlString()
toHtmlString
in class MyInventoryStatic
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |