Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/FOnlineStats
Description
Sets a stat of type SDT_Float to the value specified. Does nothing if the stat is not of the right type.
Sets a stat of type float to the value specified. Does nothing if the stat is not of the right type.
| Name | SetFloatStat |
| 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 SetFloatStat
(
const FString & StatName,
float Value
)
Parameters
| Name | Remarks |
|---|---|
| StatName | the stat to change the value of |
| Value | the new value to assign to the stat |
| StatName | the stat to change the value of |
| Value | the new value to assign to the stat |