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; };
IAgent.h
int ammoCount;
bool canMelee : 1;
int clipSize;
bool hasLaserAccessory : 1;
bool hasLightAccessory : 1;
bool isFiring : 1;
bool isReloading : 1;
CTimeValue lastShotTime;
bool lowAmmo : 1;
bool outOfAmmo : 1;
bool shotIsDone : 1;
SAIWeaponInfo();