FOnlineStats

An interface used to collect and manage online stats

Windows
MacOS
Linux

Inheritance Hierarchy

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.

References

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback