cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class MyInventoryMessage.MyInventoryStaticMessage
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.MyInventoryMessage.MyInventoryStaticMessage
- All Implemented Interfaces:
- IWorldObject, IStaticWorldObject
- Enclosing class:
- MyInventoryMessage
public class MyInventoryMessage.MyInventoryStaticMessage
- extends MyInventoryStatic
Implementation of the static part of the GameBots2004 message MYINV, used
to facade MYINVMessage.
Complete message documentation:
An object in the observed player's inventory.
MyInventoryMessage.MyInventoryStaticMessage
public MyInventoryMessage.MyInventoryStaticMessage()
clone
public MyInventoryMessage.MyInventoryStaticMessage clone()
- Specified by:
clone in class MyInventoryStatic
getId
public UnrealId getId()
- Unique Id of the item. This Id represents the item in the inventory.
- Specified by:
getId in interface IWorldObject- Specified by:
getId in class MyInventoryStatic
getType
public ItemType getType()
- Class of the item (e.g. xWeapons.FlakCannonPickup).
- Specified by:
getType in class MyInventoryStatic
getDescriptor
public ItemDescriptor getDescriptor()
- Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.
- Specified by:
getDescriptor in class MyInventoryStatic
isDifferentFrom
public boolean isDifferentFrom(IStaticWorldObject other)
- Specified by:
isDifferentFrom in interface IStaticWorldObject- Overrides:
isDifferentFrom in class MyInventoryStatic
toString
public String toString()
- Overrides:
toString in class MyInventoryStatic
toHtmlString
public String toHtmlString()
- Overrides:
toHtmlString in class MyInventoryStatic
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.