Space Plunder
Loading...
Searching...
No Matches
FPlayerWeaponState Struct Reference

A struct that represents the state of a player's weapon. More...

#include <WeaponStructs.h>

Public Attributes

bool bIsReloading = false
 
bool bFiringWeapon = false
 
bool bIsHolstered = false
 
bool bIsAiming = false
 
bool bHasGun = false
 
bool bIsWeaponInAutoMode = false
 
bool bIsWeaponInBurstMode = false
 
bool bIsWeaponInSingleMode = false
 
bool bIsWeaponInChargeMode = false
 
bool bIsCrouching = false
 

Detailed Description

A struct that represents the state of a player's weapon.

This struct stores various properties related to the player's weapon, such as whether the weapon is currently reloading, firing, holstered, aiming, or in different modes (auto, burst, single, charge). It also stores whether the player has a gun and whether they are crouching.

The struct is used in the CharacterShootingComponent class to keep track of the player's weapon state.

Member Data Documentation

◆ bFiringWeapon

bool FPlayerWeaponState::bFiringWeapon = false

◆ bHasGun

bool FPlayerWeaponState::bHasGun = false

◆ bIsAiming

bool FPlayerWeaponState::bIsAiming = false

◆ bIsCrouching

bool FPlayerWeaponState::bIsCrouching = false

◆ bIsHolstered

bool FPlayerWeaponState::bIsHolstered = false

◆ bIsReloading

bool FPlayerWeaponState::bIsReloading = false

◆ bIsWeaponInAutoMode

bool FPlayerWeaponState::bIsWeaponInAutoMode = false

◆ bIsWeaponInBurstMode

bool FPlayerWeaponState::bIsWeaponInBurstMode = false

◆ bIsWeaponInChargeMode

bool FPlayerWeaponState::bIsWeaponInChargeMode = false

◆ bIsWeaponInSingleMode

bool FPlayerWeaponState::bIsWeaponInSingleMode = false

The documentation for this struct was generated from the following file: