FOnlineStats::IncrementFloatStat

Increments a stat of type float by the value specified.

Choose your operating system:

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 IncrementFloatStat
(
    const FName & StatName,
    float IncBy
)

Remarks

Increments 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 increment

IncBy

the value to increment by