Skip to main content

EOS_Stats_Stat

Type Alias EOS_Stats_Stat 

Source
pub type EOS_Stats_Stat = _tagEOS_Stats_Stat;
Expand description

Contains information about a single player stat.

Aliased Type§

#[repr(C)]
pub struct EOS_Stats_Stat { pub ApiVersion: i32, pub Name: *const u8, pub StartTime: i64, pub EndTime: i64, pub Value: i32, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_STATS_STAT_API_LATEST.

§Name: *const u8

Name of the stat.

§StartTime: i64

If not EOS_STATS_TIME_UNDEFINED then this is the POSIX timestamp for start time.

§EndTime: i64

If not EOS_STATS_TIME_UNDEFINED then this is the POSIX timestamp for end time.

§Value: i32

Current value for the stat.