struct Srcom::Run

Overview

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

Included Modules

Defined in:

srcr/mappings/run/run.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def category : Category | Nil #

[View source]
def category=(category : Category | Nil) #

[View source]
def comment : String | Nil #

[View source]
def comment=(comment : String | Nil) #

[View source]
def date : Time | Nil #

[View source]
def date=(date : Time | Nil) #

[View source]
def examiner : User | Nil #

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


[View source]
def full_game : Game #

Gets the full Game this Run was played in.


[View source]
def game : SimpleGame #

[View source]
def game=(game : SimpleGame) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def level : Level | Nil #

[View source]
def level=(level : Level | Nil) #

[View source]
def links : Array(Link) #

[View source]
def links=(links : Array(Link)) #

[View source]
def platform : Platform | Nil #

[View source]
def platform=(platform : Platform | Nil) #

[View source]
def players : Array(User | Guest) #

[View source]
def players=(players : Array(User | Guest)) #

[View source]
def region : Region | Nil #

[View source]
def region=(region : Region | Nil) #

[View source]
def splits : Run::Splits | Nil #

[View source]
def splits=(splits : Run::Splits | Nil) #

[View source]
def status : Run::Status #

[View source]
def status=(status : Run::Status) #

[View source]
def submitted : Time | Nil #

[View source]
def submitted=(submitted : Time | Nil) #

[View source]
def system : Run::SimpleSystem #

[View source]
def system=(system : Run::SimpleSystem) #

[View source]
def times : Run::Times #

[View source]
def times=(times : Run::Times) #

[View source]
def values : Hash(String, String) #

[View source]
def values=(values : Hash(String, String)) #

[View source]
def videos : Run::Videos | Nil #

[View source]
def videos=(videos : Run::Videos | Nil) #

[View source]
def weblink : String #

[View source]
def weblink=(weblink : String) #

[View source]