Space Plunder
Loading...
Searching...
No Matches
WeaponStructs.h File Reference
#include "CoreMinimal.h"
#include "RecoilData.h"
#include "Engine/DataTable.h"
#include "WeaponStructs.generated.h"

Go to the source code of this file.

Classes

struct  FPlayerWeaponState
 A struct that represents the state of a player's weapon. More...
 
struct  FReticleSizeData
 A struct that represents the outer Image size data for a reticle. More...
 
struct  FCrosshairData
 Struct representing the data for a crosshair. More...
 
struct  FMeleeWeaponAnim
 
struct  FWeaponProjectileStats_T
 
struct  FWeaponEffects_T
 
struct  FWeaponModifiers
 
struct  FWeaponAttachment
 
struct  FWeaponAttachmentsCompatibility
 
struct  FWeaponSpawnDetails
 Transform, and Capsule Size when dropping a weapon, or spawning one. More...
 
struct  FWeaponStats_T
 Represents statistics for a weapon. More...
 
struct  FWeaponData_T
 Struct representing data of a weapon that changes. More...
 

Namespaces

namespace  FDebugWeaponFlags
 

Enumerations

enum class  EWeaponOverlay : uint8 {
  Default , PistolOneHanded , PistolTwoHanded , Rifle ,
  Shotgun , Launcher , Sniper , Sword ,
  Knife , SwordShield , Chainsaw , Bow
}
 Specifies the different weapon overlay types. More...
 
enum class  EMeleeWeaponAttack : uint8 {
  Default , Jab , Heavy , Combo ,
  Stealth , Sweep , Counter , Stun ,
  Running
}
 Enumeration representing different types of melee weapon attacks. More...
 
enum class  EWeaponType : uint8 {
  Default , HitScan , Projectile , Melee ,
  Throwable
}
 Represents the types of weapons available in the game. More...
 
enum class  EWeaponFireMode : uint8 { Single , Burst , FullAuto , Charge }
 Enum class representing the different fire modes for a weapon. More...
 
enum class  EAttachmentType : uint8 {
  Optical , Suppressor , Barrel , Laser ,
  Light , Grip , Stock , Magazines ,
  Trigger , Bipod , Knife
}
 Enum class representing different types of weapon attachments. More...
 

Functions

 DECLARE_LOG_CATEGORY_EXTERN (LogWeaponSystem, Display, All)
 

Variables

int32 FDebugWeaponFlags::DebugWeapons = 0
 
int32 FDebugWeaponFlags::DebugUnlimitedAmmo = 0
 
int32 FDebugWeaponFlags::DebugCheatWeapons = 0
 

Enumeration Type Documentation

◆ EAttachmentType

enum class EAttachmentType : uint8
strong

Enum class representing different types of weapon attachments.

Enumerator
Optical 
Suppressor 
Barrel 
Laser 
Light 
Grip 
Stock 
Magazines 
Trigger 
Bipod 
Knife 

◆ EMeleeWeaponAttack

enum class EMeleeWeaponAttack : uint8
strong

Enumeration representing different types of melee weapon attacks.

This enumeration lists the different types of melee weapon attacks that can be used in the game. Each type is represented by a unique value.

Values:

  • Default: Default melee weapon attack
  • Jab: Jab attack with the melee weapon
  • Heavy: Heavy attack with the melee weapon
  • Combo: Combo attack with the melee weapon
  • Stealth: Stealth attack with the melee weapon
  • Sweep: Sweep attack with the melee weapon
  • Counter: Counter attack with the melee weapon
  • Stun: Stun attack with the melee weapon
  • Running: Running attack with the melee weapon
Enumerator
Default 
Jab 
Heavy 
Combo 
Stealth 
Sweep 
Counter 
Stun 
Running 

◆ EWeaponFireMode

enum class EWeaponFireMode : uint8
strong

Enum class representing the different fire modes for a weapon.

This enum class defines the different fire modes that a weapon can have.

Enumerator
Single 
Burst 
FullAuto 
Charge 

◆ EWeaponOverlay

enum class EWeaponOverlay : uint8
strong

Specifies the different weapon overlay types.

Enumerator
Default 
PistolOneHanded 
PistolTwoHanded 
Rifle 
Shotgun 
Launcher 
Sniper 
Sword 
Knife 
SwordShield 
Chainsaw 
Bow 

◆ EWeaponType

enum class EWeaponType : uint8
strong

Represents the types of weapons available in the game.

The EWeaponType enum class specifies the different types of weapons that can be used in the game. Each weapon has a specific type, such as hit scan, projectile, melee, etc.

Usage: Use this enum to specify the type of a weapon.

Enumerator
Default 
HitScan 
Projectile 
Melee 
Throwable 

Function Documentation

◆ DECLARE_LOG_CATEGORY_EXTERN()

DECLARE_LOG_CATEGORY_EXTERN ( LogWeaponSystem ,
Display ,
All  )