|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ItemType | |
|---|---|
| cz.cuni.amis.pogamut.udk.agent.module.sensomotoric | |
| cz.cuni.amis.pogamut.udk.agent.module.sensor | Utility classes concerning some aspects of the gameplay (mainly for UT). |
| cz.cuni.amis.pogamut.udk.communication.messages | Java wrappers for the message objects send by the GameBotsUDK. |
| cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages | |
| cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor | |
| Uses of ItemType in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric |
|---|
| Fields in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric declared as ItemType | |
|---|---|
protected ItemType |
Weapon.weaponType
|
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric that return ItemType | |
|---|---|
ItemType |
Weaponry.getItemTypeForId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId inventoryWeaponId)
Returns an item type for a given inventory UnrealId of the weapon. |
ItemType |
Weaponry.getPrimaryWeaponAmmoType(ItemType weaponType)
Return primary-ammo ItemType for a weapon. |
ItemType |
Weaponry.getSecondaryWeaponAmmoType(ItemType weaponType)
Return secondary-ammo ItemType for a weapon. |
ItemType |
Weapon.getType()
Returns type of the weapon. |
ItemType |
Weaponry.getWeaponForAmmo(ItemType priOrSecAmmoType)
Returns weaponType for a given ammoType (regardles whether it is primary or secondary ammo type). |
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric that return types with arguments of type ItemType | |
|---|---|
Map<ItemType,Integer> |
Weaponry.getAmmos()
Returns a map with current state of ammo (ammo for owned weapons as well as ammo for weapons that the bot do not have yet). |
Map<ItemType,Weapon> |
Weaponry.getLoadedMeleeWeapons()
Retrieves loaded melee weapons from the agent's inventory. |
Map<ItemType,Weapon> |
Weaponry.getLoadedRangedWeapons()
Retrieves loaded ranged weapons from the agent's inventory. |
Map<ItemType,Weapon> |
Weaponry.getLoadedWeapons()
Retrieves all loaded weapons from the agent's inventory. |
Map<ItemType,Weapon> |
Weaponry.getMeleeWeapons()
Retrieves melee weapons from the agent's inventory. |
Map<ItemType,Weapon> |
Weaponry.getRangedWeapons()
Retrieves ranged weapons from the agent's inventory. |
Map<ItemType,Weapon> |
Weaponry.getWeapons()
Retrieves all weapons from the agent's inventory. |
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric with parameters of type ItemType | |
|---|---|
int |
Weaponry.getAmmo(ItemType ammoOrWeaponType)
Returns an amount of ammo of 'ammoOrWeaponType' the bot currently has. |
int |
Weaponry.getMaxAmmo(ItemType ammoType)
Returns max ammo that the bot may have for a specified ammo type. |
int |
Weaponry.getPrimaryWeaponAmmo(ItemType weaponType)
Returns an amount of primary ammo of a given 'weaponType' the bot currently has. |
ItemType |
Weaponry.getPrimaryWeaponAmmoType(ItemType weaponType)
Return primary-ammo ItemType for a weapon. |
int |
Weaponry.getSecondaryWeaponAmmo(ItemType weaponType)
Returns an amount of secondary ammo of a given 'weaponType' the bot currently has. |
ItemType |
Weaponry.getSecondaryWeaponAmmoType(ItemType weaponType)
Return secondary-ammo ItemType for a weapon. |
Weapon |
Weaponry.getWeapon(ItemType weaponType)
Returns Weapon instance for given 'weaponType' if the bot posses it. |
int |
Weaponry.getWeaponAmmo(ItemType weaponType)
Returns an amount of primary+secondary ammo of a given 'weaponType' the bot currently has. |
WeaponDescriptor |
Weaponry.getWeaponDescriptor(ItemType weaponType)
Returns a WeaponDescriptor for a given 'weaponType' (if it is not a weapon, returns null). |
ItemType |
Weaponry.getWeaponForAmmo(ItemType priOrSecAmmoType)
Returns weaponType for a given ammoType (regardles whether it is primary or secondary ammo type). |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Weaponry.getWeaponInventoryId(ItemType weaponType)
Returns inventory UnrealId of the weapon the bot has inside its inventory (if the bot does not have
it, returns null). |
boolean |
Weaponry.hasAmmo(ItemType ammoType)
Tells whether the bot has an ammo of 'ammoType'. |
boolean |
Weaponry.hasAmmoForWeapon(ItemType weaponType)
Alias for Weaponry.hasWeaponAmmo(ItemType). |
boolean |
Weaponry.hasLoadedWeapon(ItemType weapon)
Whether the bot possess 'weapon' that has primary or secondary ammo. |
boolean |
Weaponry.hasLowAmmoForWeapon(ItemType weaponType,
double lowRatio)
Tells whether the bot has low-ammo for "weaponType" (either primary/secondary). |
boolean |
Weaponry.hasPrimaryLoadedWeapon(ItemType weapon)
Whether the bot possess 'weapon' that has primary ammo. |
boolean |
Weaponry.hasPrimaryLowAmmoForWeapon(ItemType weaponType,
double lowRatio)
Tells whether the bot has primary low-ammo for "weaponType" Low ammo is: currAmmmo / maxAmmo < lowRatio |
boolean |
Weaponry.hasPrimaryWeaponAmmo(ItemType weaponType)
Tells whether the bot has a primary ammo for a given 'weaponType'. |
boolean |
Weaponry.hasSecondaryAmmoType(ItemType weaponType)
Whether the weapon has secondary ammo different from the primary. |
boolean |
Weaponry.hasSecondaryLoadedWeapon(ItemType weapon)
Whether the bot possess 'weapon' that has secondary ammo. |
boolean |
Weaponry.hasSecondaryLowAmmoForWeapon(ItemType weaponType,
double lowRatio)
Tells whether the bot has secondary low-ammo for "weaponType" Low ammo is: currAmmmo / maxAmmo < lowRatio |
boolean |
Weaponry.hasSecondaryWeaponAmmo(ItemType weaponType)
Tells whether the bot has a secondary ammo for a given 'weaponType'. |
boolean |
Weaponry.hasWeapon(ItemType weaponType)
Tells, whether specific weapon is in the agent's inventory. |
boolean |
Weaponry.hasWeaponAmmo(ItemType weaponType)
Tells whether the bot has an ammo (either primary or secondary) for a given 'weaponType'. |
boolean |
Weaponry.changeWeapon(ItemType weaponType)
Changes the weapon the bot is currently holding (if the bot has the weapon and its ammo > 0). |
boolean |
Weaponry.isLoaded(ItemType weaponType)
Tells, whether specific weapon is in the agent's inventory && is loaded (has at least 1 primary or secondary ammo). |
| Uses of ItemType in cz.cuni.amis.pogamut.udk.agent.module.sensor |
|---|
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensor that return ItemType | |
|---|---|
ItemType |
ItemDescriptors.getWeaponForAmmo(ItemType ammoType)
Returns a weapon type for the given 'ammoType'. |
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensor with parameters of type ItemType | |
|---|---|
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
Items.getAllItems(ItemType type)
Retrieves list of all items of specific type. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
AdvancedItems.getAllItems(ItemType type,
double usefulness)
Retrieves map of all items of specific type (both known and thrown). |
ItemDescriptor |
ItemDescriptors.getDescriptor(ItemType itemType)
Returns the descriptor for the given 'itemType'. |
double |
Items.getItemRespawnTime(ItemType itemType)
Returns how fast are the items respawning based on their item type. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
Items.getKnownPickups(ItemType type)
Retrieves list of all known item pickup points of specific type. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
AdvancedItems.getKnownPickups(ItemType type,
double usefulness)
Retrieves map of all item pickup points of items of a specific type. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
Items.getReachableItems(ItemType type)
Retrieves list of all reachable items of specific type, which includes all reachable known pickups and all reachable and visible thrown items. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
AdvancedItems.getReachableItems(ItemType type,
double usefulness)
Retrieves map of all reachable items of a specific type. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
Items.getSpawnedItems(ItemType type)
Uses Items.isPickupSpawned(Item) to return all items of 'type' that are believed to
be currently spawned. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
AdvancedItems.getSpawnedItems(ItemType type,
double usefulness)
Returns a filtered list of items of a specific type that are guessed to be currently spawned in the map. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
Items.getVisibleItems(ItemType type)
Retreives list of all visible items of specific type, which includes all visible known pickups and all visible thrown items. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Item> |
AdvancedItems.getVisibleItems(ItemType type,
double usefulness)
Retrieves map of all visible items of specific type. |
ItemType |
ItemDescriptors.getWeaponForAmmo(ItemType ammoType)
Returns a weapon type for the given 'ammoType'. |
boolean |
ItemDescriptors.hasDescriptor(ItemType itemType)
Tells whether the descriptor for given 'itemType' exists. |
| Uses of ItemType in cz.cuni.amis.pogamut.udk.communication.messages |
|---|
| Fields in cz.cuni.amis.pogamut.udk.communication.messages declared as ItemType | |
|---|---|
static ItemType |
ItemType.AVRIL
Avril weapon |
static ItemType |
ItemType.AVRIL_AMMO
Avril ammo |
static ItemType |
ItemType.BASE_ARMOR
Base armor. |
static ItemType |
ItemType.BIORIFLE
Biorifle weapon |
static ItemType |
ItemType.BIORIFLE_AMMO
Biorifle ammo |
static ItemType |
ItemType.ENFORCER
Enforcer weapon |
static ItemType |
ItemType.ENFORCER_AMMO
Enforcer ammo |
static ItemType |
ItemType.FLAK_CANNON
FlakCannon weapon |
static ItemType |
ItemType.FLAK_CANNON_AMMO
FlakCannon ammo |
static ItemType |
ItemType.HEALTH_PACK
Health pack. |
static ItemType |
ItemType.HEALTH_VIAL
Health vial. |
static ItemType |
ItemType.IMPACT_HAMMER
ImpactHammer weapon |
static ItemType |
ItemType.INSTAGIBRIFLE
InstagibRifle weapon |
static ItemType |
ItemType.INSTAGIBRIFLE_AMMO
InstagibRifle ammo |
static ItemType |
ItemType.JUMP_BOOTS
UDamage bonus (damage multiplier). |
static ItemType |
ItemType.LINK_GUN
LinkGun weapon. |
static ItemType |
ItemType.LINK_GUN_AMMO
LinkGun ammo. |
static ItemType |
ItemType.NONE
No ItemType |
static ItemType |
ItemType.REDEEMER
Redeemer weapon |
static ItemType |
ItemType.REDEEMER_AMMO
Redeemer ammo |
static ItemType |
ItemType.ROCKET_LAUNCHER
RocketLauncher weapon. |
static ItemType |
ItemType.ROCKET_LAUNCHER_AMMO
RocketLauncher ammo. |
static ItemType |
ItemType.SHIELD_BELT
Shield belt. |
static ItemType |
ItemType.SHOCK_RIFLE
ShockRifle weapon. |
static ItemType |
ItemType.SHOCK_RIFLE_AMMO
ShockRifle ammo. |
static ItemType |
ItemType.SNIPERRIFLE
SniperRifle weapon |
static ItemType |
ItemType.SNIPERRIFLE_AMMO
SniperRifle ammo |
static ItemType |
ItemType.STINGER
Stinger weapon |
static ItemType |
ItemType.STINGER_AMMO
Stinger ammo |
static ItemType |
ItemType.THIGH_PAD
Thigh pad. |
static ItemType |
ItemType.TRANSLOCATOR
Translocator weapon |
static ItemType |
ItemType.UDAMAGE
UDamage bonus (damage multiplier). |
static ItemType |
ItemType.WEAPON_LOCKER
Weapons locker |
| Fields in cz.cuni.amis.pogamut.udk.communication.messages with type parameters of type ItemType | |
|---|---|
static cz.cuni.amis.utils.maps.HashMapSet<ItemType.Category,ItemType> |
ItemType.CATEGORIES
Contains item types that belongs to their categories. |
static cz.cuni.amis.utils.maps.HashMapSet<ItemType.Group,ItemType> |
ItemType.GROUPS
Contains item types that belongs to their groups. |
| Methods in cz.cuni.amis.pogamut.udk.communication.messages that return ItemType | |
|---|---|
static ItemType |
ItemType.getItemType(String utName)
Retrieves an ItemType for the specified item type name. |
static ItemType |
ItemType.MakePrototype(ItemType.Category category,
ItemType.Group group,
String[] utNames)
Proto-constructor. |
| Methods in cz.cuni.amis.pogamut.udk.communication.messages that return types with arguments of type ItemType | |
|---|---|
Set<ItemType> |
ItemType.Category.getTypes()
Return all item types of a certain category. |
Set<ItemType> |
ItemType.Group.getTypes()
|
| Uses of ItemType in cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages |
|---|
| Fields in cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages declared as ItemType | |
|---|---|
protected ItemType |
NavPoint.ItemClass
Class of the item (e.g. |
protected ItemType |
ItemCategory.PickupType
By this class the item is represented in the map. |
protected ItemType |
AddInventoryMsg.PickupType
We get this item if we pick up this pickup class in the map. |
protected ItemType |
MyInventory.Type
Class of the item (e.g. |
protected ItemType |
ItemPickedUp.Type
Class of the item (e.g. xWeapons.FlakCannonPickup). |
protected ItemType |
Item.Type
Class of the item (e.g. xWeapons.FlakCannonPickup). |
| Methods in cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages that return ItemType | |
|---|---|
ItemType |
NavPoint.getItemClass()
Class of the item (e.g. |
ItemType |
ItemCategory.getPickupType()
By this class the item is represented in the map. |
ItemType |
AddInventoryMsg.getPickupType()
We get this item if we pick up this pickup class in the map. |
ItemType |
MyInventory.getType()
Class of the item (e.g. |
ItemType |
ItemPickedUp.getType()
Class of the item (e.g. xWeapons.FlakCannonPickup). |
ItemType |
ItemCategory.getType()
|
ItemType |
Item.getType()
Class of the item (e.g. xWeapons.FlakCannonPickup). |
protected ItemType |
Yylex.itemTypeValue(String txt)
Return an ItemType instance. |
| Methods in cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages with parameters of type ItemType | |
|---|---|
protected ItemDescriptor |
Yylex.itemDescriptorValue(ItemType type)
|
| Constructors in cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages with parameters of type ItemType | |
|---|---|
AddInventoryMsg(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
String Type,
ItemDescriptor Descriptor,
ItemType PickupType)
Creates new instance of command AddInventoryMsg. |
|
Item(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId NavPointId,
NavPoint NavPoint,
boolean Visible,
cz.cuni.amis.pogamut.base3d.worldview.object.Location Location,
boolean Reachable,
int Amount,
ItemType Type,
ItemDescriptor Descriptor,
boolean Dropped)
Creates new instance of command Item. |
|
ItemCategory(String InventoryType,
ItemType PickupType,
ItemType.Category ItemCategory,
boolean Melee,
boolean Sniping,
boolean UsesAltAmmo,
String PriFireModeType,
boolean PriSplashDamage,
boolean PriSplashJump,
boolean PriRecomSplashDamage,
boolean PriTossed,
boolean PriLeadTarget,
boolean PriInstantHit,
boolean PriFireOnRelease,
boolean PriWaitForRelease,
boolean PriModeExclusive,
double PriFireRate,
double PriBotRefireRate,
int PriAmmoPerFire,
int PriAmmoClipSize,
double PriAimError,
double PriSpread,
int PriSpreadStyle,
int PriFireCount,
double PriDamageAtten,
String PriAmmoType,
int PriInitialAmount,
int PriMaxAmount,
double PriMaxRange,
String PriDamageType,
boolean PriArmorStops,
boolean PriAlwaysGibs,
boolean PriSpecial,
boolean PriDetonatesGoop,
boolean PriSuperWeapon,
boolean PriExtraMomZ,
String PriProjType,
double PriDamage,
double PriDamageMax,
double PriDamageMin,
double PriSpeed,
double PriMaxSpeed,
double PriLifeSpan,
double PriDamageRadius,
double PriTossZ,
double PriMaxEffectDistance,
String SecFireModeType,
boolean SecSplashDamage,
boolean SecSplashJump,
boolean SecRecomSplashDamage,
boolean SecTossed,
boolean SecLeadTarget,
boolean SecInstantHit,
boolean SecFireOnRelease,
boolean SecWaitForRelease,
boolean SecModeExclusive,
double SecFireRate,
double SecBotRefireRate,
int SecAmmoPerFire,
int SecAmmoClipSize,
double SecAimError,
double SecSpread,
int SecSpreadStyle,
int SecFireCount,
double SecDamageAtten,
String SecAmmoType,
int SecInitialAmount,
int SecMaxAmount,
double SecMaxRange,
String SecDamageType,
boolean SecArmorStops,
boolean SecAlwaysGibs,
boolean SecSpecial,
boolean SecDetonatesGoop,
boolean SecSuperWeapon,
boolean SecExtraMomZ,
String SecProjType,
double SecDamage,
double SecDamageMax,
double SecDamageMin,
double SecSpeed,
double SecMaxSpeed,
double SecLifeSpan,
double SecDamageRadius,
double SecTossZ,
double SecMaxEffectDistance,
int Amount,
boolean SuperHeal)
Creates new instance of command ItemCategory. |
|
ItemPickedUp(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId InventoryId,
cz.cuni.amis.pogamut.base3d.worldview.object.Location Location,
int Amount,
int AmountSec,
ItemType Type,
ItemDescriptor Descriptor,
Boolean Dropped)
Creates new instance of command ItemPickedUp. |
|
MyInventory(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
int CurrentAmmo,
int CurrentAltAmmo,
int Amount,
ItemType Type,
ItemDescriptor Descriptor)
Creates new instance of command MyInventory. |
|
NavPoint(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.base3d.worldview.object.Location Location,
cz.cuni.amis.pogamut.base3d.worldview.object.Velocity Velocity,
boolean Visible,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Item,
ItemType ItemClass,
boolean ItemSpawned,
boolean DoorOpened,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Mover,
javax.vecmath.Vector3d LiftOffset,
boolean LiftJumpExit,
boolean NoDoubleJump,
boolean InvSpot,
boolean PlayerStart,
int TeamNumber,
boolean Door,
boolean LiftCenter,
boolean LiftExit,
boolean AIMarker,
boolean JumpSpot,
boolean JumpDest,
boolean Teleporter,
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation Rotation,
boolean RoamingSpot,
boolean SnipingSpot,
Item ItemInstance,
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,NavPointNeighbourLink> OutgoingEdges,
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,NavPointNeighbourLink> IncomingEdges,
String PreferedWeapon,
int FlagOfTeam)
Creates new instance of command NavPoint. |
|
| Uses of ItemType in cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor |
|---|
| Methods in cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor that return ItemType | |
|---|---|
ItemType[] |
ItemTranslator.getItemTypes()
|
ItemType |
ItemDescriptor.getPickupType()
|
ItemType |
WeaponDescriptor.getPriAmmoItemType()
|
ItemType |
WeaponDescriptor.getSecAmmoItemType()
|
ItemType |
ItemTyped.getType()
Returns ItemType as injected by ItemTranslator. |
| Methods in cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor with parameters of type ItemType | |
|---|---|
ItemDescriptor |
ItemTranslator.getDefaultDescriptor(ItemType type)
Gets default Pogamut descriptor for this item. |
ItemDescriptor |
ItemTranslator.getDescriptor(ItemType type)
Gets descriptor for this item. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||