struct Srcom::SimpleRun
- Srcom::SimpleRun
- Struct
- Value
- Object
Overview
Has shorthand methods to getting the resources that the Link
s in #links
point to.
Also has shorthand methods to get all the full resources for things that didn't get embedded.
Included Modules
- JSON::Serializable
Defined in:
srcr/mappings/run/simple_run.crConstructors
Instance Method Summary
- #category : String
- #category=(category : String)
- #comment : String | Nil
- #comment=(comment : String | Nil)
- #date : Time | Nil
- #date=(date : Time | Nil)
- #examiner : User | Nil
- #full_category : Category
- #full_game : Game
- #full_level : Level | Nil
- #full_players : Array(User | Guest)
-
#full_run : Run
Gets the full
Run
resource with everything embedded. - #game : String
- #game=(game : String)
- #id : String
- #id=(id : String)
- #level : String | Nil
- #level=(level : String | Nil)
-
#platform : Platform | Nil
Gets the full
Platform
this run was played on, if provided. - #players : Array(SimplePlayer)
- #players=(players : Array(SimplePlayer))
-
#region : Region | Nil
Gets the full
Region
this run was played in, if provided. - #splits : Run::Splits | Nil
- #splits=(splits : Run::Splits | Nil)
- #status : Run::Status
- #status=(status : Run::Status)
- #submitted : Time | Nil
- #submitted=(submitted : Time | Nil)
- #system : Run::SimpleSystem
- #system=(system : Run::SimpleSystem)
- #times : Run::Times
- #times=(times : Run::Times)
- #values : Hash(String, String)
- #values=(values : Hash(String, String))
- #videos : Run::Videos | Nil
- #videos=(videos : Run::Videos | Nil)
- #weblink : String
- #weblink=(weblink : String)
Constructor Detail
Instance Method Detail
Gets all the players that played this run as either a full User
or Guest
object.
NOTE Since there's a bug with Guest
s sometimes not having a name, those entries will be
skipped.
Gets the full Platform
this run was played on, if provided.