struct Srcom::Run::Times

Overview

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

Included Modules

Defined in:

srcr/mappings/run/times.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ingame : Time::Span? #

[View source]
def ingame=(ingame : Time::Span?) #

[View source]
def ingame_t : Float64 #

[View source]
def ingame_t=(ingame_t : Float64) #

[View source]
def primary : Time::Span? #

[View source]
def primary=(primary : Time::Span?) #

[View source]
def primary_t : Float64 #

[View source]
def primary_t=(primary_t : Float64) #

[View source]
def realtime : Time::Span? #

[View source]
def realtime=(realtime : Time::Span?) #

[View source]
def realtime_noloads : Time::Span? #

[View source]
def realtime_noloads=(realtime_noloads : Time::Span?) #

[View source]
def realtime_noloads_t : Float64 #

[View source]
def realtime_noloads_t=(realtime_noloads_t : Float64) #

[View source]
def realtime_t : Float64 #

[View source]
def realtime_t=(realtime_t : Float64) #

[View source]