FOnlineStats::DecrementFloatStat

Decrements a stat of type float by the value specified.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineStats.h

Include

#include "OnlineStats.h"

Source

/Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineStats.cpp

Syntax

virtual void DecrementFloatStat
(
    const FName & StatName,
    float DecBy
)

Remarks

Decrements a stat of type float by the value specified. Does nothing if the stat is not of the right type.

Parameters

Parameter

Description

StatName

the stat to decrement

DecBy

the value to decrement by

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss