Skip to main content

EOS_Leaderboards_Definition

Type Alias EOS_Leaderboards_Definition 

Source
pub type EOS_Leaderboards_Definition = _tagEOS_Leaderboards_Definition;
Expand description

Contains information about a single leaderboard definition

Aliased Type§

#[repr(C)]
pub struct EOS_Leaderboards_Definition { pub ApiVersion: i32, pub LeaderboardId: *const i8, pub StatName: *const i8, pub Aggregation: i32, pub StartTime: i64, pub EndTime: i64, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_LEADERBOARDS_DEFINITION_API_LATEST.

§LeaderboardId: *const i8

Unique ID to identify leaderboard.

§StatName: *const i8

Name of stat used to rank leaderboard.

§Aggregation: i32

Aggregation used to sort leaderboard.

§StartTime: i64

The POSIX timestamp for the start time, or EOS_LEADERBOARDS_TIME_UNDEFINED.

§EndTime: i64

The POSIX timestamp for the end time, or EOS_LEADERBOARDS_TIME_UNDEFINED.