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? #

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

[View source]
def comment : String? #

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

[View source]
def date : Time? #

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

[View source]
def examiner : User? #

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? #

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

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

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

[View source]
def platform : Platform? #

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

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

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

[View source]
def region : Region? #

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

[View source]
def splits : Run::Splits? #

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

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

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

[View source]
def submitted : Time? #

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

[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? #

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

[View source]
def weblink : String #

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

[View source]