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

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

#include <PropertyOverriderBlueprints.h>

+ Inheritance diagram for FPropertyOverriderDouble:
+ Collaboration diagram for FPropertyOverriderDouble:

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

Blueprintable double 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

double FPropertyOverriderDouble::BaseValue = 1
protected

The unmodified base value.

◆ bIsDirty

bool FPropertyOverriderDouble::bIsDirty = false
mutableprotected

True if cache is stale.

◆ CachedValue

double FPropertyOverriderDouble::CachedValue = 1
mutableprotected

Cached result of applying operator to base value.

◆ OperatorExpression

EOperator FPropertyOverriderDouble::OperatorExpression = EOperator::Ignore
protected

Current operator to apply.

◆ OperatorValue

double FPropertyOverriderDouble::OperatorValue = 1
protected

The operand for the operator.