Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/FOnlineStats
Description
Decrements a stat of type float by the value specified. Does nothing if the stat is not of the right type.
| Name | DecrementFloatStat |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineStats.h |
| Include Path | #include "OnlineStats.h" |
| Source | /Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineStats.cpp |
virtual void DecrementFloatStat
(
const FString & StatName,
float DecBy
)
Parameters
| Name | Remarks |
|---|---|
| StatName | the stat to decrement |
| DecBy | the value to decrement by |