Srcom::Game
Inherits JSON::Serializable / Struct / Value / Object
Has shorthand methods to getting the resources that the Links in #links point to.
Does not cover the Link to get the applicable Levels, Categorys, or Variables,
since those are already embedded.
NOTE: Also does not cover romhacks, since the endpoint is deprecated and synonymous with derived-games.
Constructors
Instance methods
Returns all Games derived from this Game.
Returns the Leaderboard for the Category that is first shown when this Game is visited
on speedrun.com.
Shorthand for Name#international.
NOTE: This method is present on all things that have the international + japanese name structure.
Gets every Leaderboard with the top N runs for this Game, skipping over empty
Leaderboards if skip_empty is true.
If miscellaneous is set to false, only Leaderboards for non-miscellaneous categories will
be returned. If it is set to true Leaderboards for both miscellaneous and non-miscellaneous
categories will be returned.
This method defaults to getting everything, as it is doubtful a single Game will have
truly that many Leaderboards.
NOTE: This can result in more than N runs per Leaderboard, as ties can occur.
Gets all Runs completed in this Game.
Defaults to getting all of them since there shouldn't be an absurd amount of Run“s in a single Game`.
Gets all the Series this Game belongs to, if it belongs to any.
NOTE: It is both possible for a game to not be part of a Series, and for it to be part of several.