struct

Srcom::Run

Inherits JSON::Serializable / Struct / Value / Object

Has shorthand methods to getting the resources that the Links in #links point to.

Constructors

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

Instance methods

category

Category is not supposed to be nilable, but unfortunately when embedded this is not true.

Source
category=(category : Category | Nil)

Category is not supposed to be nilable, but unfortunately when embedded this is not true.

Source
comment
Source
comment=(comment : String | Nil)
Source
date
Source
date=(date : Time | Nil)
Source
examiner

Gets the full User for the person who examined this Run, if it was already examined.

Source
full_game

Gets the full Game this Run was played in.

Source
game
Source
game=(game : SimpleGame)
Source
id=(id : String)
Source
level
Source
level=(level : Level | Nil)
Source
platform
Source
platform=(platform : Platform | Nil)
Source
players
Source
players=(players : Array(User | Guest))
Source
region
Source
region=(region : Region | Nil)
Source
splits
Source
splits=(splits : Run::Splits | Nil)
Source
status
Source
status=(status : Run::Status)
Source
submitted
Source
submitted=(submitted : Time | Nil)
Source
system
Source
system=(system : Run::SimpleSystem)
Source
times
Source
times=(times : Run::Times)
Source
values
Source
values=(values : Hash(String, String))
Source
videos
Source
videos=(videos : Run::Videos | Nil)
Source

Nested types