SAIWeaponInfo

C++
struct SAIWeaponInfo {
  CTimeValue lastShotTime;
  int ammoCount;
  int clipSize;
  bool canMelee : 1;
  bool outOfAmmo : 1;
  bool lowAmmo : 1;
  bool shotIsDone : 1;
  bool hasLightAccessory : 1;
  bool hasLaserAccessory : 1;
  bool isReloading : 1;
  bool isFiring : 1;
};
File

IAgent.h

SAIWeaponInfo::ammoCount Data Member
C++
int ammoCount;
SAIWeaponInfo::canMelee Data Member
C++
bool canMelee : 1;
SAIWeaponInfo::clipSize Data Member
C++
int clipSize;
SAIWeaponInfo::hasLaserAccessory Data Member
C++
bool hasLaserAccessory : 1;
SAIWeaponInfo::hasLightAccessory Data Member
C++
bool hasLightAccessory : 1;
SAIWeaponInfo::isFiring Data Member
C++
bool isFiring : 1;
SAIWeaponInfo::isReloading Data Member
C++
bool isReloading : 1;
SAIWeaponInfo::lastShotTime Data Member
C++
CTimeValue lastShotTime;
SAIWeaponInfo::lowAmmo Data Member
C++
bool lowAmmo : 1;
SAIWeaponInfo::outOfAmmo Data Member
C++
bool outOfAmmo : 1;
SAIWeaponInfo::shotIsDone Data Member
C++
bool shotIsDone : 1;
SAIWeaponInfo::SAIWeaponInfo Constructor
C++
SAIWeaponInfo();