FOnlineStats::SetIntStat

Sets a stat of type SDT_Int to 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 SetIntStat
(
    const FName & StatName,
    int32 Value
)

Remarks

Sets a stat of type SDT_Int to the value specified. Does nothing if the stat is not of the right type.

Sets a stat of type int32 to the value specified. Does nothing if the stat is not of the right type.

Parameters

Parameter

Description

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

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