FOnlineStats

An interface used to collect and manage online stats

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OnlineSubsystem

Header

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

Include

#include "OnlineStats.h"

Syntax

class FOnlineStats

Remarks

An interface used to collect and manage online stats

Variables

Name Description

Public variable

FStatPropertyAr...

 

Properties

Array of stats we are gathering

Destructors

Name Description

Public function Virtual

~FOnlineStats()

Destructor

Functions

Name Description

Public function Virtual

void

 

DecrementFloatStat

(
    const FName& StatName,
    float DecBy
)

Decrements a stat of type float by the value specified.

Public function Virtual

void

 

DecrementIntStat

(
    const FName& StatName,
    int32 DecBy
)

Decrements a stat of type int32 by the value specified.

Public function

FVariantData...

 

FindStatByName

(
    const FName& StatName
)

Get a key value pair by key name

Public function Virtual

void

 

IncrementFloatStat

(
    const FName& StatName,
    float IncBy
)

Increments a stat of type float by the value specified.

Public function Virtual

void

 

IncrementIntStat

(
    const FName& StatName,
    int32 IncBy
)

Increments a stat of type int32 by the value specified.

Public function Virtual

void

 

SetFloatStat

(
    const FName& StatName,
    float Value
)

Sets a stat of type SDT_Float to the value specified.

Public function Virtual

void

 

SetIntStat

(
    const FName& StatName,
    int32 Value
)

Sets a stat of type SDT_Int to the value specified.

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