fork/livesplit-core
git clone https://git.julia.blue/fork/livesplit-core
ee16b86
v0.11.0
1<!doctype html > 2< html class ="default no-js "> 3< head > 4< meta charset ="utf-8 "> 5< meta http-equiv ="X-UA-Compatible "content ="IE=edge "> 6< title > RunMetadataRef | livesplit</ title > 7< meta name ="description "content =""> 8< meta name ="viewport "content ="width=device-width, initial-scale=1 "> 9< link rel ="stylesheet "href ="../assets/css/main.css "> 10</ head > 11< body > 12< header > 13< div class ="tsd-page-toolbar "> 14< div class ="container "> 15< div class ="table-wrap "> 16< div class ="table-cell "id ="tsd-search "data-index ="../assets/js/search.js "data-base =".. "> 17< div class ="field "> 18< label for ="tsd-search-field "class ="tsd-widget search no-caption "> Search</ label > 19< input id ="tsd-search-field "type ="text "/> 20</ div > 21< ul class ="results "> 22< li class ="state loading "> Preparing search index...</ li > 23< li class ="state failure "> The search index is not available</ li > 24</ ul > 25< a href ="../index.html "class ="title "> livesplit</ a > 26</ div > 27< div class ="table-cell "id ="tsd-widgets "> 28< div id ="tsd-filter "> 29< a href ="# "class ="tsd-widget options no-caption "data-toggle ="options "> Options</ a > 30< div class ="tsd-filter-group "> 31< div class ="tsd-select "id ="tsd-filter-visibility "> 32< span class ="tsd-select-label "> All</ span > 33< ul class ="tsd-select-list "> 34< li data-value ="public "> Public</ li > 35< li data-value ="protected "> Public/Protected</ li > 36< li data-value ="private "class ="selected "> All</ li > 37</ ul > 38</ div > 39< input type ="checkbox "id ="tsd-filter-inherited "checked /> 40< label class ="tsd-widget "for ="tsd-filter-inherited "> Inherited</ label > 41< input type ="checkbox "id ="tsd-filter-externals "checked /> 42< label class ="tsd-widget "for ="tsd-filter-externals "> Externals</ label > 43< input type ="checkbox "id ="tsd-filter-only-exported "/> 44< label class ="tsd-widget "for ="tsd-filter-only-exported "> Only exported</ label > 45</ div > 46</ div > 47< a href ="# "class ="tsd-widget menu no-caption "data-toggle ="menu "> Menu</ a > 48</ div > 49</ div > 50</ div > 51</ div > 52< div class ="tsd-page-title "> 53< div class ="container "> 54< ul class ="tsd-breadcrumb "> 55< li > 56< a href ="../globals.html "> Globals</ a > 57</ li > 58< li > 59< a href ="runmetadataref.html "> RunMetadataRef</ a > 60</ li > 61</ ul > 62< h1 > Class RunMetadataRef</ h1 > 63</ div > 64</ div > 65</ header > 66< div class ="container container-main "> 67< div class ="row "> 68< div class ="col-8 col-content "> 69< section class ="tsd-panel tsd-comment "> 70< div class ="tsd-comment tsd-typography "> 71< div class ="lead "> 72< p > The Run Metadata stores additional information about a run, like the 73 platform and region of the game. All of this information is optional.</ p > 74</ div > 75</ div > 76</ section > 77< section class ="tsd-panel tsd-hierarchy "> 78< h3 > Hierarchy</ h3 > 79< ul class ="tsd-hierarchy "> 80< li > 81< span class ="target "> RunMetadataRef</ span > 82< ul class ="tsd-hierarchy "> 83< li > 84< a href ="runmetadatarefmut.html "class ="tsd-signature-type "> RunMetadataRefMut</ a > 85</ li > 86</ ul > 87</ li > 88</ ul > 89</ section > 90< section class ="tsd-panel-group tsd-index-group "> 91< h2 > Index</ h2 > 92< section class ="tsd-panel tsd-index-panel "> 93< div class ="tsd-index-content "> 94< section class ="tsd-index-section "> 95< h3 > Constructors</ h3 > 96< ul class ="tsd-index-list "> 97< li class ="tsd-kind-constructor tsd-parent-kind-class ">< a href ="runmetadataref.html#constructor "class ="tsd-kind-icon "> constructor</ a ></ li > 98</ ul > 99</ section > 100< section class ="tsd-index-section "> 101< h3 > Properties</ h3 > 102< ul class ="tsd-index-list "> 103< li class ="tsd-kind-property tsd-parent-kind-class ">< a href ="runmetadataref.html#ptr "class ="tsd-kind-icon "> ptr</ a ></ li > 104</ ul > 105</ section > 106< section class ="tsd-index-section "> 107< h3 > Methods</ h3 > 108< ul class ="tsd-index-list "> 109< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runmetadataref.html#platformname "class ="tsd-kind-icon "> platform< wbr > Name</ a ></ li > 110< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runmetadataref.html#regionname "class ="tsd-kind-icon "> region< wbr > Name</ a ></ li > 111< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runmetadataref.html#runid "class ="tsd-kind-icon "> run< wbr > Id</ a ></ li > 112< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runmetadataref.html#usesemulator "class ="tsd-kind-icon "> uses< wbr > Emulator</ a ></ li > 113< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runmetadataref.html#variables "class ="tsd-kind-icon "> variables</ a ></ li > 114</ ul > 115</ section > 116</ div > 117</ section > 118</ section > 119< section class ="tsd-panel-group tsd-member-group "> 120< h2 > Constructors</ h2 > 121< section class ="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class "> 122< a name ="constructor "class ="tsd-anchor "></ a > 123< h3 > constructor</ h3 > 124< ul class ="tsd-signatures tsd-kind-constructor tsd-parent-kind-class "> 125< li class ="tsd-signature tsd-kind-icon "> new< wbr > Run< wbr > Metadata< wbr > Ref< span class ="tsd-signature-symbol "> (</ span > ptr< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> number</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< a href ="runmetadataref.html "class ="tsd-signature-type "> RunMetadataRef</ a ></ li > 126</ ul > 127< ul class ="tsd-descriptions "> 128< li class ="tsd-description "> 129< aside class ="tsd-sources "> 130< ul > 131< li > Defined in livesplit_core.ts:4840</ li > 132</ ul > 133</ aside > 134< div class ="tsd-comment tsd-typography "> 135< div class ="lead "> 136< p > This constructor is an implementation detail. Do not use this.</ p > 137</ div > 138</ div > 139< h4 class ="tsd-parameters-title "> Parameters</ h4 > 140< ul class ="tsd-parameters "> 141< li > 142< h5 > ptr:< span class ="tsd-signature-type "> number</ span ></ h5 > 143</ li > 144</ ul > 145< h4 class ="tsd-returns-title "> Returns< a href ="runmetadataref.html "class ="tsd-signature-type "> RunMetadataRef</ a ></ h4 > 146</ li > 147</ ul > 148</ section > 149</ section > 150< section class ="tsd-panel-group tsd-member-group "> 151< h2 > Properties</ h2 > 152< section class ="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class "> 153< a name ="ptr "class ="tsd-anchor "></ a > 154< h3 > ptr</ h3 > 155< div class ="tsd-signature tsd-kind-icon "> ptr< span class ="tsd-signature-symbol "> :</ span > < span class ="tsd-signature-type "> number</ span ></ div > 156< aside class ="tsd-sources "> 157< ul > 158< li > Defined in livesplit_core.ts:4783</ li > 159</ ul > 160</ aside > 161</ section > 162</ section > 163< section class ="tsd-panel-group tsd-member-group "> 164< h2 > Methods</ h2 > 165< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 166< a name ="platformname "class ="tsd-anchor "></ a > 167< h3 > platform< wbr > Name</ h3 > 168< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 169< li class ="tsd-signature tsd-kind-icon "> platform< wbr > Name< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span ></ li > 170</ ul > 171< ul class ="tsd-descriptions "> 172< li class ="tsd-description "> 173< aside class ="tsd-sources "> 174< ul > 175< li > Defined in livesplit_core.ts:4801</ li > 176</ ul > 177</ aside > 178< div class ="tsd-comment tsd-typography "> 179< div class ="lead "> 180< p > Accesses the name of the platform this game is run on. This may be empty 181 if it's not specified.</ p > 182</ div > 183</ div > 184< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> string</ span ></ h4 > 185</ li > 186</ ul > 187</ section > 188< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 189< a name ="regionname "class ="tsd-anchor "></ a > 190< h3 > region< wbr > Name</ h3 > 191< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 192< li class ="tsd-signature tsd-kind-icon "> region< wbr > Name< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span ></ li > 193</ ul > 194< ul class ="tsd-descriptions "> 195< li class ="tsd-description "> 196< aside class ="tsd-sources "> 197< ul > 198< li > Defined in livesplit_core.ts:4823</ li > 199</ ul > 200</ aside > 201< div class ="tsd-comment tsd-typography "> 202< div class ="lead "> 203< p > Accesses the name of the region this game is from. This may be empty if 204 it's not specified.</ p > 205</ div > 206</ div > 207< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> string</ span ></ h4 > 208</ li > 209</ ul > 210</ section > 211< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 212< a name ="runid "class ="tsd-anchor "></ a > 213< h3 > run< wbr > Id</ h3 > 214< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 215< li class ="tsd-signature tsd-kind-icon "> run< wbr > Id< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span ></ li > 216</ ul > 217< ul class ="tsd-descriptions "> 218< li class ="tsd-description "> 219< aside class ="tsd-sources "> 220< ul > 221< li > Defined in livesplit_core.ts:4790</ li > 222</ ul > 223</ aside > 224< div class ="tsd-comment tsd-typography "> 225< div class ="lead "> 226< p > Accesses the speedrun.com Run ID of the run. This Run ID specify which 227 Record on speedrun.com this run is associated with. This should be 228 changed once the Personal Best doesn't match up with that record 229 anymore. This may be empty if there's no association.</ p > 230</ div > 231</ div > 232< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> string</ span ></ h4 > 233</ li > 234</ ul > 235</ section > 236< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 237< a name ="usesemulator "class ="tsd-anchor "></ a > 238< h3 > uses< wbr > Emulator</ h3 > 239< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 240< li class ="tsd-signature tsd-kind-icon "> uses< wbr > Emulator< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 241</ ul > 242< ul class ="tsd-descriptions "> 243< li class ="tsd-description "> 244< aside class ="tsd-sources "> 245< ul > 246< li > Defined in livesplit_core.ts:4812</ li > 247</ ul > 248</ aside > 249< div class ="tsd-comment tsd-typography "> 250< div class ="lead "> 251< p > Returns true if this speedrun is done on an emulator. However false 252 may also indicate that this information is simply not known.</ p > 253</ div > 254</ div > 255< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 256</ li > 257</ ul > 258</ section > 259< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 260< a name ="variables "class ="tsd-anchor "></ a > 261< h3 > variables</ h3 > 262< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 263< li class ="tsd-signature tsd-kind-icon "> variables< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< a href ="runmetadatavariablesiter.html "class ="tsd-signature-type "> RunMetadataVariablesIter</ a ></ li > 264</ ul > 265< ul class ="tsd-descriptions "> 266< li class ="tsd-description "> 267< aside class ="tsd-sources "> 268< ul > 269< li > Defined in livesplit_core.ts:4834</ li > 270</ ul > 271</ aside > 272< div class ="tsd-comment tsd-typography "> 273< div class ="lead "> 274< p > Returns an iterator iterating over all the variables and their values 275 that have been specified.</ p > 276</ div > 277</ div > 278< h4 class ="tsd-returns-title "> Returns< a href ="runmetadatavariablesiter.html "class ="tsd-signature-type "> RunMetadataVariablesIter</ a ></ h4 > 279</ li > 280</ ul > 281</ section > 282</ section > 283</ div > 284< div class ="col-4 col-menu menu-sticky-wrap menu-highlight "> 285< nav class ="tsd-navigation primary "> 286< ul > 287< li class ="globals "> 288< a href ="../globals.html ">< em > Globals</ em ></ a > 289</ li > 290</ ul > 291</ nav > 292< nav class ="tsd-navigation secondary menu-sticky "> 293< ul class ="before-current "> 294</ ul > 295< ul class ="current "> 296< li class ="current tsd-kind-class "> 297< a href ="runmetadataref.html "class ="tsd-kind-icon "> Run< wbr > Metadata< wbr > Ref</ a > 298< ul > 299< li class ="tsd-kind-constructor tsd-parent-kind-class "> 300< a href ="runmetadataref.html#constructor "class ="tsd-kind-icon "> constructor</ a > 301</ li > 302< li class ="tsd-kind-property tsd-parent-kind-class "> 303< a href ="runmetadataref.html#ptr "class ="tsd-kind-icon "> ptr</ a > 304</ li > 305< li class ="tsd-kind-method tsd-parent-kind-class "> 306< a href ="runmetadataref.html#platformname "class ="tsd-kind-icon "> platform< wbr > Name</ a > 307</ li > 308< li class ="tsd-kind-method tsd-parent-kind-class "> 309< a href ="runmetadataref.html#regionname "class ="tsd-kind-icon "> region< wbr > Name</ a > 310</ li > 311< li class ="tsd-kind-method tsd-parent-kind-class "> 312< a href ="runmetadataref.html#runid "class ="tsd-kind-icon "> run< wbr > Id</ a > 313</ li > 314< li class ="tsd-kind-method tsd-parent-kind-class "> 315< a href ="runmetadataref.html#usesemulator "class ="tsd-kind-icon "> uses< wbr > Emulator</ a > 316</ li > 317< li class ="tsd-kind-method tsd-parent-kind-class "> 318< a href ="runmetadataref.html#variables "class ="tsd-kind-icon "> variables</ a > 319</ li > 320</ ul > 321</ li > 322</ ul > 323< ul class ="after-current "> 324</ ul > 325</ nav > 326</ div > 327</ div > 328</ div > 329< footer class ="with-border-bottom "> 330< div class ="container "> 331< h2 > Legend</ h2 > 332< div class ="tsd-legend-group "> 333< ul class ="tsd-legend "> 334< li class ="tsd-kind-module ">< span class ="tsd-kind-icon "> Module</ span ></ li > 335< li class ="tsd-kind-object-literal ">< span class ="tsd-kind-icon "> Object literal</ span ></ li > 336< li class ="tsd-kind-variable ">< span class ="tsd-kind-icon "> Variable</ span ></ li > 337< li class ="tsd-kind-function ">< span class ="tsd-kind-icon "> Function</ span ></ li > 338< li class ="tsd-kind-function tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Function with type parameter</ span ></ li > 339< li class ="tsd-kind-index-signature ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 340< li class ="tsd-kind-type-alias ">< span class ="tsd-kind-icon "> Type alias</ span ></ li > 341</ ul > 342< ul class ="tsd-legend "> 343< li class ="tsd-kind-enum ">< span class ="tsd-kind-icon "> Enumeration</ span ></ li > 344< li class ="tsd-kind-enum-member ">< span class ="tsd-kind-icon "> Enumeration member</ span ></ li > 345< li class ="tsd-kind-property tsd-parent-kind-enum ">< span class ="tsd-kind-icon "> Property</ span ></ li > 346< li class ="tsd-kind-method tsd-parent-kind-enum ">< span class ="tsd-kind-icon "> Method</ span ></ li > 347</ ul > 348< ul class ="tsd-legend "> 349< li class ="tsd-kind-interface ">< span class ="tsd-kind-icon "> Interface</ span ></ li > 350< li class ="tsd-kind-interface tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Interface with type parameter</ span ></ li > 351< li class ="tsd-kind-constructor tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Constructor</ span ></ li > 352< li class ="tsd-kind-property tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Property</ span ></ li > 353< li class ="tsd-kind-method tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Method</ span ></ li > 354< li class ="tsd-kind-index-signature tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 355</ ul > 356< ul class ="tsd-legend "> 357< li class ="tsd-kind-class ">< span class ="tsd-kind-icon "> Class</ span ></ li > 358< li class ="tsd-kind-class tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Class with type parameter</ span ></ li > 359< li class ="tsd-kind-constructor tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Constructor</ span ></ li > 360< li class ="tsd-kind-property tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Property</ span ></ li > 361< li class ="tsd-kind-method tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Method</ span ></ li > 362< li class ="tsd-kind-accessor tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Accessor</ span ></ li > 363< li class ="tsd-kind-index-signature tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 364</ ul > 365< ul class ="tsd-legend "> 366< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited constructor</ span ></ li > 367< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited property</ span ></ li > 368< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited method</ span ></ li > 369< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited accessor</ span ></ li > 370</ ul > 371< ul class ="tsd-legend "> 372< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected property</ span ></ li > 373< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected method</ span ></ li > 374< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected accessor</ span ></ li > 375</ ul > 376< ul class ="tsd-legend "> 377< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private property</ span ></ li > 378< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private method</ span ></ li > 379< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private accessor</ span ></ li > 380</ ul > 381< ul class ="tsd-legend "> 382< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-static ">< span class ="tsd-kind-icon "> Static property</ span ></ li > 383< li class ="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static ">< span class ="tsd-kind-icon "> Static method</ span ></ li > 384</ ul > 385</ div > 386</ div > 387</ footer > 388< div class ="container tsd-generator "> 389< p > Generated using< a href ="http://typedoc.org/ "target ="_blank "> TypeDoc</ a ></ p > 390</ div > 391< div class ="overlay "></ div > 392< script src ="../assets/js/main.js "></ script > 393< script > if ( location . protocol == 'file:' ) document . write ( '<script src="../assets/js/search.js"><' + '/script>' );</ script > 394</ body > 395</ html >