struct

Srcom::Run::Times

Inherits JSON::Serializable / Struct / Value / Object

The times without _t are converted from an ISO 8601 duration to a Time::Span. The times with _t represent the time in (possibly fractional) seconds as a Float64, as provided by the API directly

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ingame
Source
ingame=(ingame : Time::Span | Nil)
Source
ingame_t
Source
ingame_t=(ingame_t : Float64)
Source
primary
Source
primary=(primary : Time::Span | Nil)
Source
primary_t
Source
primary_t=(primary_t : Float64)
Source
realtime
Source
realtime=(realtime : Time::Span | Nil)
Source
realtime_noloads
Source
realtime_noloads=(realtime_noloads : Time::Span | Nil)
Source
realtime_noloads_t
Source
realtime_noloads_t=(realtime_noloads_t : Float64)
Source
realtime_t
Source
realtime_t=(realtime_t : Float64)
Source