Srcom::SimpleRun
Inherits JSON::Serializable / Struct / Value / Object
Has shorthand methods to getting the resources that the Links in #links point to.
Also has shorthand methods to get all the full resources for things that didn't get embedded.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
category
Sourcecategory=(category : String)
Sourcecomment
Sourcecomment=(comment : String | Nil)
Sourcedate
Sourcedate=(date : Time | Nil)
Sourcefull_players
Gets all the players that played this run as either a full User or Guest object.
NOTE: Since there's a bug with Guests sometimes not having a name, those entries will be
skipped.
game
Sourcegame=(game : String)
Sourceid
Sourceid=(id : String)
Sourcelevel
Sourcelevel=(level : String | Nil)
Sourceplayers
Sourceplayers=(players : Array(SimplePlayer))
Sourcesplits
Sourcesplits=(splits : Run::Splits | Nil)
Sourcestatus
Sourcestatus=(status : Run::Status)
Sourcesubmitted
Sourcesubmitted=(submitted : Time | Nil)
Sourcesystem
Sourcesystem=(system : Run::SimpleSystem)
Sourcetimes
Sourcetimes=(times : Run::Times)
Sourcevalues
Sourcevalues=(values : Hash(String, String))
Sourcevideos
Sourcevideos=(videos : Run::Videos | Nil)
Sourceweblink
Sourceweblink=(weblink : String)
Source