Weaponry Assembly System
WAS
Loading...
Searching...
No Matches
FPropertyOverriderInt Struct Reference

Blueprintable int32 property override with lazy evaluation. More...

#include <PropertyOverriderBlueprints.h>

+ Inheritance diagram for FPropertyOverriderInt:
+ Collaboration diagram for FPropertyOverriderInt:

Protected Attributes

int32 BaseValue = 1
 
bool bIsDirty = false
 
int32 CachedValue = 1
 
EOperator OperatorExpression = EOperator::Ignore
 
int32 OperatorValue = 1
 

Additional Inherited Members

- Public Member Functions inherited from FPropertyOverriderBase
virtual void virtual MarkDirty() const PURE_VIRTUAL(FPropertyOverriderBase ~FPropertyOverriderBase ()=default
 

Detailed Description

Blueprintable int32 property override with lazy evaluation.

Applies an arithmetic operator to a base value with cached result. Enables property modification without conflicting with runtime weapon system changes.

Member Data Documentation

◆ BaseValue

int32 FPropertyOverriderInt::BaseValue = 1
protected

The unmodified base value.

◆ bIsDirty

bool FPropertyOverriderInt::bIsDirty = false
mutableprotected

True if cache is stale.

◆ CachedValue

int32 FPropertyOverriderInt::CachedValue = 1
mutableprotected

Cached result of applying operator to base value.

◆ OperatorExpression

EOperator FPropertyOverriderInt::OperatorExpression = EOperator::Ignore
protected

Current operator to apply.

◆ OperatorValue

int32 FPropertyOverriderInt::OperatorValue = 1
protected

The operand for the operator.