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 > RunEditorRefMut | 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 ="runeditorrefmut.html "> RunEditorRefMut</ a > 60</ li > 61</ ul > 62< h1 > Class RunEditorRefMut</ 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 Editor allows modifying Runs while ensuring that all the different 73 invariants of the Run objects are upheld no matter what kind of operations 74 are being applied to the Run. It provides the current state of the editor as 75 state objects that can be visualized by any kind of User Interface.</ p > 76</ div > 77</ div > 78</ section > 79< section class ="tsd-panel tsd-hierarchy "> 80< h3 > Hierarchy</ h3 > 81< ul class ="tsd-hierarchy "> 82< li > 83< a href ="runeditorref.html "class ="tsd-signature-type "> RunEditorRef</ a > 84< ul class ="tsd-hierarchy "> 85< li > 86< span class ="target "> RunEditorRefMut</ span > 87< ul class ="tsd-hierarchy "> 88< li > 89< a href ="runeditor.html "class ="tsd-signature-type "> RunEditor</ a > 90</ li > 91</ ul > 92</ li > 93</ ul > 94</ li > 95</ ul > 96</ section > 97< section class ="tsd-panel-group tsd-index-group "> 98< h2 > Index</ h2 > 99< section class ="tsd-panel tsd-index-panel "> 100< div class ="tsd-index-content "> 101< section class ="tsd-index-section tsd-is-inherited "> 102< h3 > Constructors</ h3 > 103< ul class ="tsd-index-list "> 104< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited ">< a href ="runeditorrefmut.html#constructor "class ="tsd-kind-icon "> constructor</ a ></ li > 105</ ul > 106</ section > 107< section class ="tsd-index-section tsd-is-inherited "> 108< h3 > Properties</ h3 > 109< ul class ="tsd-index-list "> 110< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited ">< a href ="runeditorrefmut.html#ptr "class ="tsd-kind-icon "> ptr</ a ></ li > 111</ ul > 112</ section > 113< section class ="tsd-index-section "> 114< h3 > Methods</ h3 > 115< ul class ="tsd-index-list "> 116< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeparseandsetbestsegmenttime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Best< wbr > Segment< wbr > Time</ a ></ li > 117< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeparseandsetcomparisontime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Comparison< wbr > Time</ a ></ li > 118< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeparseandsetsegmenttime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Segment< wbr > Time</ a ></ li > 119< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeparseandsetsplittime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Split< wbr > Time</ a ></ li > 120< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeremoveicon "class ="tsd-kind-icon "> active< wbr > Remove< wbr > Icon</ a ></ li > 121< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeseticon "class ="tsd-kind-icon "> active< wbr > Set< wbr > Icon</ a ></ li > 122< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activeseticonfromarray "class ="tsd-kind-icon "> active< wbr > Set< wbr > Icon< wbr > From< wbr > Array</ a ></ li > 123< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#activesetname "class ="tsd-kind-icon "> active< wbr > Set< wbr > Name</ a ></ li > 124< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#addcomparison "class ="tsd-kind-icon "> add< wbr > Comparison</ a ></ li > 125< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#cleansumofbest "class ="tsd-kind-icon "> clean< wbr > Sum< wbr > OfBest</ a ></ li > 126< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#clearhistory "class ="tsd-kind-icon "> clear< wbr > History</ a ></ li > 127< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#clearmetadata "class ="tsd-kind-icon "> clear< wbr > Metadata</ a ></ li > 128< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#cleartimes "class ="tsd-kind-icon "> clear< wbr > Times</ a ></ li > 129< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#importcomparison "class ="tsd-kind-icon "> import< wbr > Comparison</ a ></ li > 130< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#insertsegmentabove "class ="tsd-kind-icon "> insert< wbr > Segment< wbr > Above</ a ></ li > 131< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#insertsegmentbelow "class ="tsd-kind-icon "> insert< wbr > Segment< wbr > Below</ a ></ li > 132< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#movecomparison "class ="tsd-kind-icon "> move< wbr > Comparison</ a ></ li > 133< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#movesegmentsdown "class ="tsd-kind-icon "> move< wbr > Segments< wbr > Down</ a ></ li > 134< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#movesegmentsup "class ="tsd-kind-icon "> move< wbr > Segments< wbr > Up</ a ></ li > 135< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#parseandsetattemptcount "class ="tsd-kind-icon "> parse< wbr > And< wbr > Set< wbr > Attempt< wbr > Count</ a ></ li > 136< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#parseandsetoffset "class ="tsd-kind-icon "> parse< wbr > And< wbr > Set< wbr > Offset</ a ></ li > 137< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#removecomparison "class ="tsd-kind-icon "> remove< wbr > Comparison</ a ></ li > 138< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#removegameicon "class ="tsd-kind-icon "> remove< wbr > Game< wbr > Icon</ a ></ li > 139< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#removesegments "class ="tsd-kind-icon "> remove< wbr > Segments</ a ></ li > 140< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#removevariable "class ="tsd-kind-icon "> remove< wbr > Variable</ a ></ li > 141< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#renamecomparison "class ="tsd-kind-icon "> rename< wbr > Comparison</ a ></ li > 142< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#selectadditionally "class ="tsd-kind-icon "> select< wbr > Additionally</ a ></ li > 143< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#selectonly "class ="tsd-kind-icon "> select< wbr > Only</ a ></ li > 144< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#selecttimingmethod "class ="tsd-kind-icon "> select< wbr > Timing< wbr > Method</ a ></ li > 145< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setcategoryname "class ="tsd-kind-icon "> set< wbr > Category< wbr > Name</ a ></ li > 146< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setemulatorusage "class ="tsd-kind-icon "> set< wbr > Emulator< wbr > Usage</ a ></ li > 147< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setgameicon "class ="tsd-kind-icon "> set< wbr > Game< wbr > Icon</ a ></ li > 148< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setgameiconfromarray "class ="tsd-kind-icon "> set< wbr > Game< wbr > Icon< wbr > From< wbr > Array</ a ></ li > 149< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setgamename "class ="tsd-kind-icon "> set< wbr > Game< wbr > Name</ a ></ li > 150< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setplatformname "class ="tsd-kind-icon "> set< wbr > Platform< wbr > Name</ a ></ li > 151< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setregionname "class ="tsd-kind-icon "> set< wbr > Region< wbr > Name</ a ></ li > 152< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setrunid "class ="tsd-kind-icon "> set< wbr > Run< wbr > Id</ a ></ li > 153< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#setvariable "class ="tsd-kind-icon "> set< wbr > Variable</ a ></ li > 154< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#stateasjson "class ="tsd-kind-icon "> state< wbr > AsJson</ a ></ li > 155< li class ="tsd-kind-method tsd-parent-kind-class ">< a href ="runeditorrefmut.html#unselect "class ="tsd-kind-icon "> unselect</ a ></ li > 156</ ul > 157</ section > 158</ div > 159</ section > 160</ section > 161< section class ="tsd-panel-group tsd-member-group tsd-is-inherited "> 162< h2 > Constructors</ h2 > 163< section class ="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited "> 164< a name ="constructor "class ="tsd-anchor "></ a > 165< h3 > constructor</ h3 > 166< ul class ="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited "> 167< li class ="tsd-signature tsd-kind-icon "> new< wbr > Run< wbr > Editor< wbr > Ref< wbr > Mut< 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 ="runeditorrefmut.html "class ="tsd-signature-type "> RunEditorRefMut</ a ></ li > 168</ ul > 169< ul class ="tsd-descriptions "> 170< li class ="tsd-description "> 171< aside class ="tsd-sources "> 172< p > Inherited from< a href ="runeditorref.html "> RunEditorRef</ a > .< a href ="runeditorref.html#constructor "> constructor</ a ></ p > 173< ul > 174< li > Defined in livesplit_core.ts:4265</ li > 175</ ul > 176</ aside > 177< div class ="tsd-comment tsd-typography "> 178< div class ="lead "> 179< p > This constructor is an implementation detail. Do not use this.</ p > 180</ div > 181</ div > 182< h4 class ="tsd-parameters-title "> Parameters</ h4 > 183< ul class ="tsd-parameters "> 184< li > 185< h5 > ptr:< span class ="tsd-signature-type "> number</ span ></ h5 > 186</ li > 187</ ul > 188< h4 class ="tsd-returns-title "> Returns< a href ="runeditorrefmut.html "class ="tsd-signature-type "> RunEditorRefMut</ a ></ h4 > 189</ li > 190</ ul > 191</ section > 192</ section > 193< section class ="tsd-panel-group tsd-member-group tsd-is-inherited "> 194< h2 > Properties</ h2 > 195< section class ="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited "> 196< a name ="ptr "class ="tsd-anchor "></ a > 197< h3 > ptr</ h3 > 198< div class ="tsd-signature tsd-kind-icon "> ptr< span class ="tsd-signature-symbol "> :</ span > < span class ="tsd-signature-type "> number</ span ></ div > 199< aside class ="tsd-sources "> 200< p > Inherited from< a href ="runeditorref.html "> RunEditorRef</ a > .< a href ="runeditorref.html#ptr "> ptr</ a ></ p > 201< ul > 202< li > Defined in livesplit_core.ts:4265</ li > 203</ ul > 204</ aside > 205</ section > 206</ section > 207< section class ="tsd-panel-group tsd-member-group "> 208< h2 > Methods</ h2 > 209< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 210< a name ="activeparseandsetbestsegmenttime "class ="tsd-anchor "></ a > 211< h3 > active< wbr > Parse< wbr > And< wbr > Set< wbr > Best< wbr > Segment< wbr > Time</ h3 > 212< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 213< li class ="tsd-signature tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Best< wbr > Segment< wbr > Time< span class ="tsd-signature-symbol "> (</ span > time< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 214</ ul > 215< ul class ="tsd-descriptions "> 216< li class ="tsd-description "> 217< aside class ="tsd-sources "> 218< ul > 219< li > Defined in livesplit_core.ts:4581</ li > 220</ ul > 221</ aside > 222< div class ="tsd-comment tsd-typography "> 223< div class ="lead "> 224< p > Parses a best segment time from a string and sets it for the active segment 225 with the chosen timing method.</ p > 226</ div > 227</ div > 228< h4 class ="tsd-parameters-title "> Parameters</ h4 > 229< ul class ="tsd-parameters "> 230< li > 231< h5 > time:< span class ="tsd-signature-type "> string</ span ></ h5 > 232</ li > 233</ ul > 234< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 235</ li > 236</ ul > 237</ section > 238< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 239< a name ="activeparseandsetcomparisontime "class ="tsd-anchor "></ a > 240< h3 > active< wbr > Parse< wbr > And< wbr > Set< wbr > Comparison< wbr > Time</ h3 > 241< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 242< li class ="tsd-signature tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Comparison< wbr > Time< span class ="tsd-signature-symbol "> (</ span > comparison< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span > , time< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 243</ ul > 244< ul class ="tsd-descriptions "> 245< li class ="tsd-description "> 246< aside class ="tsd-sources "> 247< ul > 248< li > Defined in livesplit_core.ts:4592</ li > 249</ ul > 250</ aside > 251< div class ="tsd-comment tsd-typography "> 252< div class ="lead "> 253< p > Parses a comparison time for the provided comparison and sets it for the 254 active active segment with the chosen timing method.</ p > 255</ div > 256</ div > 257< h4 class ="tsd-parameters-title "> Parameters</ h4 > 258< ul class ="tsd-parameters "> 259< li > 260< h5 > comparison:< span class ="tsd-signature-type "> string</ span ></ h5 > 261</ li > 262< li > 263< h5 > time:< span class ="tsd-signature-type "> string</ span ></ h5 > 264</ li > 265</ ul > 266< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 267</ li > 268</ ul > 269</ section > 270< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 271< a name ="activeparseandsetsegmenttime "class ="tsd-anchor "></ a > 272< h3 > active< wbr > Parse< wbr > And< wbr > Set< wbr > Segment< wbr > Time</ h3 > 273< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 274< li class ="tsd-signature tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Segment< wbr > Time< span class ="tsd-signature-symbol "> (</ span > time< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 275</ ul > 276< ul class ="tsd-descriptions "> 277< li class ="tsd-description "> 278< aside class ="tsd-sources "> 279< ul > 280< li > Defined in livesplit_core.ts:4570</ li > 281</ ul > 282</ aside > 283< div class ="tsd-comment tsd-typography "> 284< div class ="lead "> 285< p > Parses a segment time from a string and sets it for the active segment with 286 the chosen timing method.</ p > 287</ div > 288</ div > 289< h4 class ="tsd-parameters-title "> Parameters</ h4 > 290< ul class ="tsd-parameters "> 291< li > 292< h5 > time:< span class ="tsd-signature-type "> string</ span ></ h5 > 293</ li > 294</ ul > 295< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 296</ li > 297</ ul > 298</ section > 299< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 300< a name ="activeparseandsetsplittime "class ="tsd-anchor "></ a > 301< h3 > active< wbr > Parse< wbr > And< wbr > Set< wbr > Split< wbr > Time</ h3 > 302< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 303< li class ="tsd-signature tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Split< wbr > Time< span class ="tsd-signature-symbol "> (</ span > time< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 304</ ul > 305< ul class ="tsd-descriptions "> 306< li class ="tsd-description "> 307< aside class ="tsd-sources "> 308< ul > 309< li > Defined in livesplit_core.ts:4559</ li > 310</ ul > 311</ aside > 312< div class ="tsd-comment tsd-typography "> 313< div class ="lead "> 314< p > Parses a split time from a string and sets it for the active segment with 315 the chosen timing method.</ p > 316</ div > 317</ div > 318< h4 class ="tsd-parameters-title "> Parameters</ h4 > 319< ul class ="tsd-parameters "> 320< li > 321< h5 > time:< span class ="tsd-signature-type "> string</ span ></ h5 > 322</ li > 323</ ul > 324< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 325</ li > 326</ ul > 327</ section > 328< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 329< a name ="activeremoveicon "class ="tsd-anchor "></ a > 330< h3 > active< wbr > Remove< wbr > Icon</ h3 > 331< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 332< li class ="tsd-signature tsd-kind-icon "> active< wbr > Remove< wbr > Icon< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 333</ ul > 334< ul class ="tsd-descriptions "> 335< li class ="tsd-description "> 336< aside class ="tsd-sources "> 337< ul > 338< li > Defined in livesplit_core.ts:4540</ li > 339</ ul > 340</ aside > 341< div class ="tsd-comment tsd-typography "> 342< div class ="lead "> 343< p > Removes the icon of the active segment.</ p > 344</ div > 345</ div > 346< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 347</ li > 348</ ul > 349</ section > 350< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 351< a name ="activeseticon "class ="tsd-anchor "></ a > 352< h3 > active< wbr > Set< wbr > Icon</ h3 > 353< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 354< li class ="tsd-signature tsd-kind-icon "> active< wbr > Set< wbr > Icon< span class ="tsd-signature-symbol "> (</ span > data< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> number</ span > , length< 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 >< span class ="tsd-signature-type "> void</ span ></ li > 355</ ul > 356< ul class ="tsd-descriptions "> 357< li class ="tsd-description "> 358< aside class ="tsd-sources "> 359< ul > 360< li > Defined in livesplit_core.ts:4531</ li > 361</ ul > 362</ aside > 363< div class ="tsd-comment tsd-typography "> 364< div class ="lead "> 365< p > Sets the icon of the active segment.</ p > 366</ div > 367</ div > 368< h4 class ="tsd-parameters-title "> Parameters</ h4 > 369< ul class ="tsd-parameters "> 370< li > 371< h5 > data:< span class ="tsd-signature-type "> number</ span ></ h5 > 372</ li > 373< li > 374< h5 > length:< span class ="tsd-signature-type "> number</ span ></ h5 > 375</ li > 376</ ul > 377< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 378</ li > 379</ ul > 380</ section > 381< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 382< a name ="activeseticonfromarray "class ="tsd-anchor "></ a > 383< h3 > active< wbr > Set< wbr > Icon< wbr > From< wbr > Array</ h3 > 384< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 385< li class ="tsd-signature tsd-kind-icon "> active< wbr > Set< wbr > Icon< wbr > From< wbr > Array< span class ="tsd-signature-symbol "> (</ span > data< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> Int8Array</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 386</ ul > 387< ul class ="tsd-descriptions "> 388< li class ="tsd-description "> 389< aside class ="tsd-sources "> 390< ul > 391< li > Defined in livesplit_core.ts:4705</ li > 392</ ul > 393</ aside > 394< h4 class ="tsd-parameters-title "> Parameters</ h4 > 395< ul class ="tsd-parameters "> 396< li > 397< h5 > data:< span class ="tsd-signature-type "> Int8Array</ span ></ h5 > 398</ li > 399</ ul > 400< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 401</ li > 402</ ul > 403</ section > 404< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 405< a name ="activesetname "class ="tsd-anchor "></ a > 406< h3 > active< wbr > Set< wbr > Name</ h3 > 407< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 408< li class ="tsd-signature tsd-kind-icon "> active< wbr > Set< wbr > Name< span class ="tsd-signature-symbol "> (</ span > name< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 409</ ul > 410< ul class ="tsd-descriptions "> 411< li class ="tsd-description "> 412< aside class ="tsd-sources "> 413< ul > 414< li > Defined in livesplit_core.ts:4549</ li > 415</ ul > 416</ aside > 417< div class ="tsd-comment tsd-typography "> 418< div class ="lead "> 419< p > Sets the name of the active segment.</ p > 420</ div > 421</ div > 422< h4 class ="tsd-parameters-title "> Parameters</ h4 > 423< ul class ="tsd-parameters "> 424< li > 425< h5 > name:< span class ="tsd-signature-type "> string</ span ></ h5 > 426</ li > 427</ ul > 428< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 429</ li > 430</ ul > 431</ section > 432< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 433< a name ="addcomparison "class ="tsd-anchor "></ a > 434< h3 > add< wbr > Comparison</ h3 > 435< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 436< li class ="tsd-signature tsd-kind-icon "> add< wbr > Comparison< span class ="tsd-signature-symbol "> (</ span > comparison< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 437</ ul > 438< ul class ="tsd-descriptions "> 439< li class ="tsd-description "> 440< aside class ="tsd-sources "> 441< ul > 442< li > Defined in livesplit_core.ts:4603</ li > 443</ ul > 444</ aside > 445< div class ="tsd-comment tsd-typography "> 446< div class ="lead "> 447< p > Adds a new custom comparison. It can't be added if it starts with 448< code > [Race]</ code > or already exists.</ p > 449</ div > 450</ div > 451< h4 class ="tsd-parameters-title "> Parameters</ h4 > 452< ul class ="tsd-parameters "> 453< li > 454< h5 > comparison:< span class ="tsd-signature-type "> string</ span ></ h5 > 455</ li > 456</ ul > 457< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 458</ li > 459</ ul > 460</ section > 461< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 462< a name ="cleansumofbest "class ="tsd-anchor "></ a > 463< h3 > clean< wbr > Sum< wbr > OfBest</ h3 > 464< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 465< li class ="tsd-signature tsd-kind-icon "> clean< wbr > Sum< wbr > OfBest< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< a href ="sumofbestcleaner.html "class ="tsd-signature-type "> SumOfBestCleaner</ a ></ li > 466</ ul > 467< ul class ="tsd-descriptions "> 468< li class ="tsd-description "> 469< aside class ="tsd-sources "> 470< ul > 471< li > Defined in livesplit_core.ts:4689</ li > 472</ ul > 473</ aside > 474< div class ="tsd-comment tsd-typography "> 475< div class ="lead "> 476< p > Creates a Sum of Best Cleaner which allows you to interactively remove 477 potential issues in the segment history that lead to an inaccurate Sum 478 of Best. If you skip a split, whenever you will do the next split, the 479 combined segment time might be faster than the sum of the individual 480 best segments. The Sum of Best Cleaner will point out all of these and 481 allows you to delete them individually if any of them seem wrong.</ p > 482</ div > 483</ div > 484< h4 class ="tsd-returns-title "> Returns< a href ="sumofbestcleaner.html "class ="tsd-signature-type "> SumOfBestCleaner</ a ></ h4 > 485</ li > 486</ ul > 487</ section > 488< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 489< a name ="clearhistory "class ="tsd-anchor "></ a > 490< h3 > clear< wbr > History</ h3 > 491< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 492< li class ="tsd-signature tsd-kind-icon "> clear< wbr > History< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 493</ ul > 494< ul class ="tsd-descriptions "> 495< li class ="tsd-description "> 496< aside class ="tsd-sources "> 497< ul > 498< li > Defined in livesplit_core.ts:4663</ li > 499</ ul > 500</ aside > 501< div class ="tsd-comment tsd-typography "> 502< div class ="lead "> 503< p > Clears out the Attempt History and the Segment Histories of all the 504 segments.</ p > 505</ div > 506</ div > 507< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 508</ li > 509</ ul > 510</ section > 511< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 512< a name ="clearmetadata "class ="tsd-anchor "></ a > 513< h3 > clear< wbr > Metadata</ h3 > 514< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 515< li class ="tsd-signature tsd-kind-icon "> clear< wbr > Metadata< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 516</ ul > 517< ul class ="tsd-descriptions "> 518< li class ="tsd-description "> 519< aside class ="tsd-sources "> 520< ul > 521< li > Defined in livesplit_core.ts:4465</ li > 522</ ul > 523</ aside > 524< div class ="tsd-comment tsd-typography "> 525< div class ="lead "> 526< p > Resets all the Metadata Information.</ p > 527</ div > 528</ div > 529< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 530</ li > 531</ ul > 532</ section > 533< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 534< a name ="cleartimes "class ="tsd-anchor "></ a > 535< h3 > clear< wbr > Times</ h3 > 536< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 537< li class ="tsd-signature tsd-kind-icon "> clear< wbr > Times< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 538</ ul > 539< ul class ="tsd-descriptions "> 540< li class ="tsd-description "> 541< aside class ="tsd-sources "> 542< ul > 543< li > Defined in livesplit_core.ts:4675</ li > 544</ ul > 545</ aside > 546< div class ="tsd-comment tsd-typography "> 547< div class ="lead "> 548< p > Clears out the Attempt History, the Segment Histories, all the times, 549 sets the Attempt Count to 0 and clears the speedrun.com run id 550 association. All Custom Comparisons other than< code > Personal Best</ code > are 551 deleted as well.</ p > 552</ div > 553</ div > 554< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 555</ li > 556</ ul > 557</ section > 558< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 559< a name ="importcomparison "class ="tsd-anchor "></ a > 560< h3 > import< wbr > Comparison</ h3 > 561< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 562< li class ="tsd-signature tsd-kind-icon "> import< wbr > Comparison< span class ="tsd-signature-symbol "> (</ span > run< span class ="tsd-signature-symbol "> :</ span >< a href ="runref.html "class ="tsd-signature-type "> RunRef</ a > , comparison< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 563</ ul > 564< ul class ="tsd-descriptions "> 565< li class ="tsd-description "> 566< aside class ="tsd-sources "> 567< ul > 568< li > Defined in livesplit_core.ts:4615</ li > 569</ ul > 570</ aside > 571< div class ="tsd-comment tsd-typography "> 572< div class ="lead "> 573< p > Imports the Personal Best from the provided run as a comparison. The 574 comparison can't be added if its name starts with< code > [Race]</ code > or it already 575 exists.</ p > 576</ div > 577</ div > 578< h4 class ="tsd-parameters-title "> Parameters</ h4 > 579< ul class ="tsd-parameters "> 580< li > 581< h5 > run:< a href ="runref.html "class ="tsd-signature-type "> RunRef</ a ></ h5 > 582</ li > 583< li > 584< h5 > comparison:< span class ="tsd-signature-type "> string</ span ></ h5 > 585</ li > 586</ ul > 587< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 588</ li > 589</ ul > 590</ section > 591< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 592< a name ="insertsegmentabove "class ="tsd-anchor "></ a > 593< h3 > insert< wbr > Segment< wbr > Above</ h3 > 594< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 595< li class ="tsd-signature tsd-kind-icon "> insert< wbr > Segment< wbr > Above< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 596</ ul > 597< ul class ="tsd-descriptions "> 598< li class ="tsd-description "> 599< aside class ="tsd-sources "> 600< ul > 601< li > Defined in livesplit_core.ts:4476</ li > 602</ ul > 603</ aside > 604< div class ="tsd-comment tsd-typography "> 605< div class ="lead "> 606< p > Inserts a new empty segment above the active segment and adjusts the 607 Run's history information accordingly. The newly created segment is then 608 the only selected segment and also the active segment.</ p > 609</ div > 610</ div > 611< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 612</ li > 613</ ul > 614</ section > 615< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 616< a name ="insertsegmentbelow "class ="tsd-anchor "></ a > 617< h3 > insert< wbr > Segment< wbr > Below</ h3 > 618< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 619< li class ="tsd-signature tsd-kind-icon "> insert< wbr > Segment< wbr > Below< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 620</ ul > 621< ul class ="tsd-descriptions "> 622< li class ="tsd-description "> 623< aside class ="tsd-sources "> 624< ul > 625< li > Defined in livesplit_core.ts:4487</ li > 626</ ul > 627</ aside > 628< div class ="tsd-comment tsd-typography "> 629< div class ="lead "> 630< p > Inserts a new empty segment below the active segment and adjusts the 631 Run's history information accordingly. The newly created segment is then 632 the only selected segment and also the active segment.</ p > 633</ div > 634</ div > 635< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 636</ li > 637</ ul > 638</ section > 639< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 640< a name ="movecomparison "class ="tsd-anchor "></ a > 641< h3 > move< wbr > Comparison</ h3 > 642< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 643< li class ="tsd-signature tsd-kind-icon "> move< wbr > Comparison< span class ="tsd-signature-symbol "> (</ span > srcIndex< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> number</ span > , dstIndex< 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 >< span class ="tsd-signature-type "> boolean</ span ></ li > 644</ ul > 645< ul class ="tsd-descriptions "> 646< li class ="tsd-description "> 647< aside class ="tsd-sources "> 648< ul > 649< li > Defined in livesplit_core.ts:4652</ li > 650</ ul > 651</ aside > 652< div class ="tsd-comment tsd-typography "> 653< div class ="lead "> 654< p > Reorders the custom comparisons by moving the comparison with the source 655 index specified to the destination index specified. Returns false if one 656 of the indices is invalid. The indices are based on the comparison names of 657 the Run Editor's state.</ p > 658</ div > 659</ div > 660< h4 class ="tsd-parameters-title "> Parameters</ h4 > 661< ul class ="tsd-parameters "> 662< li > 663< h5 > srcIndex:< span class ="tsd-signature-type "> number</ span ></ h5 > 664</ li > 665< li > 666< h5 > dstIndex:< span class ="tsd-signature-type "> number</ span ></ h5 > 667</ li > 668</ ul > 669< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 670</ li > 671</ ul > 672</ section > 673< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 674< a name ="movesegmentsdown "class ="tsd-anchor "></ a > 675< h3 > move< wbr > Segments< wbr > Down</ h3 > 676< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 677< li class ="tsd-signature tsd-kind-icon "> move< wbr > Segments< wbr > Down< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 678</ ul > 679< ul class ="tsd-descriptions "> 680< li class ="tsd-description "> 681< aside class ="tsd-sources "> 682< ul > 683< li > Defined in livesplit_core.ts:4522</ li > 684</ ul > 685</ aside > 686< div class ="tsd-comment tsd-typography "> 687< div class ="lead "> 688< p > Moves all the selected segments down, unless the last segment is 689 selected. The run's information is automatically adjusted properly. The 690 active segment stays the active segment.</ p > 691</ div > 692</ div > 693< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 694</ li > 695</ ul > 696</ section > 697< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 698< a name ="movesegmentsup "class ="tsd-anchor "></ a > 699< h3 > move< wbr > Segments< wbr > Up</ h3 > 700< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 701< li class ="tsd-signature tsd-kind-icon "> move< wbr > Segments< wbr > Up< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 702</ ul > 703< ul class ="tsd-descriptions "> 704< li class ="tsd-description "> 705< aside class ="tsd-sources "> 706< ul > 707< li > Defined in livesplit_core.ts:4511</ li > 708</ ul > 709</ aside > 710< div class ="tsd-comment tsd-typography "> 711< div class ="lead "> 712< p > Moves all the selected segments up, unless the first segment is 713 selected. The run's information is automatically adjusted properly. The 714 active segment stays the active segment.</ p > 715</ div > 716</ div > 717< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 718</ li > 719</ ul > 720</ section > 721< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 722< a name ="parseandsetattemptcount "class ="tsd-anchor "></ a > 723< h3 > parse< wbr > And< wbr > Set< wbr > Attempt< wbr > Count</ h3 > 724< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 725< li class ="tsd-signature tsd-kind-icon "> parse< wbr > And< wbr > Set< wbr > Attempt< wbr > Count< span class ="tsd-signature-symbol "> (</ span > attempts< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 726</ ul > 727< ul class ="tsd-descriptions "> 728< li class ="tsd-description "> 729< aside class ="tsd-sources "> 730< ul > 731< li > Defined in livesplit_core.ts:4374</ li > 732</ ul > 733</ aside > 734< div class ="tsd-comment tsd-typography "> 735< div class ="lead "> 736< p > Parses and sets the attempt count from the string provided. Changing 737 this has no affect on the attempt history or the segment history. This 738 number is mostly just a visual number for the runner.</ p > 739</ div > 740</ div > 741< h4 class ="tsd-parameters-title "> Parameters</ h4 > 742< ul class ="tsd-parameters "> 743< li > 744< h5 > attempts:< span class ="tsd-signature-type "> string</ span ></ h5 > 745</ li > 746</ ul > 747< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 748</ li > 749</ ul > 750</ section > 751< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 752< a name ="parseandsetoffset "class ="tsd-anchor "></ a > 753< h3 > parse< wbr > And< wbr > Set< wbr > Offset</ h3 > 754< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 755< li class ="tsd-signature tsd-kind-icon "> parse< wbr > And< wbr > Set< wbr > Offset< span class ="tsd-signature-symbol "> (</ span > offset< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 756</ ul > 757< ul class ="tsd-descriptions "> 758< li class ="tsd-description "> 759< aside class ="tsd-sources "> 760< ul > 761< li > Defined in livesplit_core.ts:4362</ li > 762</ ul > 763</ aside > 764< div class ="tsd-comment tsd-typography "> 765< div class ="lead "> 766< p > Parses and sets the timer offset from the string provided. The timer 767 offset specifies the time, the timer starts at when starting a new 768 attempt.</ p > 769</ div > 770</ div > 771< h4 class ="tsd-parameters-title "> Parameters</ h4 > 772< ul class ="tsd-parameters "> 773< li > 774< h5 > offset:< span class ="tsd-signature-type "> string</ span ></ h5 > 775</ li > 776</ ul > 777< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 778</ li > 779</ ul > 780</ section > 781< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 782< a name ="removecomparison "class ="tsd-anchor "></ a > 783< h3 > remove< wbr > Comparison</ h3 > 784< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 785< li class ="tsd-signature tsd-kind-icon "> remove< wbr > Comparison< span class ="tsd-signature-symbol "> (</ span > comparison< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 786</ ul > 787< ul class ="tsd-descriptions "> 788< li class ="tsd-description "> 789< aside class ="tsd-sources "> 790< ul > 791< li > Defined in livesplit_core.ts:4629</ li > 792</ ul > 793</ aside > 794< div class ="tsd-comment tsd-typography "> 795< div class ="lead "> 796< p > Removes the chosen custom comparison. You can't remove a Comparison 797 Generator's Comparison or the Personal Best.</ p > 798</ div > 799</ div > 800< h4 class ="tsd-parameters-title "> Parameters</ h4 > 801< ul class ="tsd-parameters "> 802< li > 803< h5 > comparison:< span class ="tsd-signature-type "> string</ span ></ h5 > 804</ li > 805</ ul > 806< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 807</ li > 808</ ul > 809</ section > 810< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 811< a name ="removegameicon "class ="tsd-anchor "></ a > 812< h3 > remove< wbr > Game< wbr > Icon</ h3 > 813< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 814< li class ="tsd-signature tsd-kind-icon "> remove< wbr > Game< wbr > Icon< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 815</ ul > 816< ul class ="tsd-descriptions "> 817< li class ="tsd-description "> 818< aside class ="tsd-sources "> 819< ul > 820< li > Defined in livesplit_core.ts:4393</ li > 821</ ul > 822</ aside > 823< div class ="tsd-comment tsd-typography "> 824< div class ="lead "> 825< p > Removes the game's icon.</ p > 826</ div > 827</ div > 828< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 829</ li > 830</ ul > 831</ section > 832< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 833< a name ="removesegments "class ="tsd-anchor "></ a > 834< h3 > remove< wbr > Segments</ h3 > 835< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 836< li class ="tsd-signature tsd-kind-icon "> remove< wbr > Segments< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 837</ ul > 838< ul class ="tsd-descriptions "> 839< li class ="tsd-description "> 840< aside class ="tsd-sources "> 841< ul > 842< li > Defined in livesplit_core.ts:4500</ li > 843</ ul > 844</ aside > 845< div class ="tsd-comment tsd-typography "> 846< div class ="lead "> 847< p > Removes all the selected segments, unless all of them are selected. The 848 run's information is automatically adjusted properly. The next 849 not-to-be-removed segment after the active segment becomes the new 850 active segment. If there's none, then the next not-to-be-removed segment 851 before the active segment, becomes the new active segment.</ p > 852</ div > 853</ div > 854< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 855</ li > 856</ ul > 857</ section > 858< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 859< a name ="removevariable "class ="tsd-anchor "></ a > 860< h3 > remove< wbr > Variable</ h3 > 861< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 862< li class ="tsd-signature tsd-kind-icon "> remove< wbr > Variable< span class ="tsd-signature-symbol "> (</ span > name< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 863</ ul > 864< ul class ="tsd-descriptions "> 865< li class ="tsd-description "> 866< aside class ="tsd-sources "> 867< ul > 868< li > Defined in livesplit_core.ts:4456</ li > 869</ ul > 870</ aside > 871< div class ="tsd-comment tsd-typography "> 872< div class ="lead "> 873< p > Removes the variable with the name specified.</ p > 874</ div > 875</ div > 876< h4 class ="tsd-parameters-title "> Parameters</ h4 > 877< ul class ="tsd-parameters "> 878< li > 879< h5 > name:< span class ="tsd-signature-type "> string</ span ></ h5 > 880</ li > 881</ ul > 882< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 883</ li > 884</ ul > 885</ section > 886< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 887< a name ="renamecomparison "class ="tsd-anchor "></ a > 888< h3 > rename< wbr > Comparison</ h3 > 889< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 890< li class ="tsd-signature tsd-kind-icon "> rename< wbr > Comparison< span class ="tsd-signature-symbol "> (</ span > oldName< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span > , newName< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span ></ li > 891</ ul > 892< ul class ="tsd-descriptions "> 893< li class ="tsd-description "> 894< aside class ="tsd-sources "> 895< ul > 896< li > Defined in livesplit_core.ts:4639</ li > 897</ ul > 898</ aside > 899< div class ="tsd-comment tsd-typography "> 900< div class ="lead "> 901< p > Renames a comparison. The comparison can't be renamed if the new name of 902 the comparison starts with< code > [Race]</ code > or it already exists.</ p > 903</ div > 904</ div > 905< h4 class ="tsd-parameters-title "> Parameters</ h4 > 906< ul class ="tsd-parameters "> 907< li > 908< h5 > oldName:< span class ="tsd-signature-type "> string</ span ></ h5 > 909</ li > 910< li > 911< h5 > newName:< span class ="tsd-signature-type "> string</ span ></ h5 > 912</ li > 913</ ul > 914< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> boolean</ span ></ h4 > 915</ li > 916</ ul > 917</ section > 918< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 919< a name ="selectadditionally "class ="tsd-anchor "></ a > 920< h3 > select< wbr > Additionally</ h3 > 921< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 922< li class ="tsd-signature tsd-kind-icon "> select< wbr > Additionally< span class ="tsd-signature-symbol "> (</ span > index< 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 >< span class ="tsd-signature-type "> void</ span ></ li > 923</ ul > 924< ul class ="tsd-descriptions "> 925< li class ="tsd-description "> 926< aside class ="tsd-sources "> 927< ul > 928< li > Defined in livesplit_core.ts:4321</ li > 929</ ul > 930</ aside > 931< div class ="tsd-comment tsd-typography "> 932< div class ="lead "> 933< p > In addition to the segments that are already selected, the segment with 934 the given index is being selected. The segment chosen also becomes the 935 active segment.</ p > 936</ div > 937< p > This panics if the index of the segment provided is out of bounds.</ p > 938</ div > 939< h4 class ="tsd-parameters-title "> Parameters</ h4 > 940< ul class ="tsd-parameters "> 941< li > 942< h5 > index:< span class ="tsd-signature-type "> number</ span ></ h5 > 943</ li > 944</ ul > 945< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 946</ li > 947</ ul > 948</ section > 949< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 950< a name ="selectonly "class ="tsd-anchor "></ a > 951< h3 > select< wbr > Only</ h3 > 952< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 953< li class ="tsd-signature tsd-kind-icon "> select< wbr > Only< span class ="tsd-signature-symbol "> (</ span > index< 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 >< span class ="tsd-signature-type "> void</ span ></ li > 954</ ul > 955< ul class ="tsd-descriptions "> 956< li class ="tsd-description "> 957< aside class ="tsd-sources "> 958< ul > 959< li > Defined in livesplit_core.ts:4333</ li > 960</ ul > 961</ aside > 962< div class ="tsd-comment tsd-typography "> 963< div class ="lead "> 964< p > Selects the segment with the given index. All other segments are 965 unselected. The segment chosen also becomes the active segment.</ p > 966</ div > 967< p > This panics if the index of the segment provided is out of bounds.</ p > 968</ div > 969< h4 class ="tsd-parameters-title "> Parameters</ h4 > 970< ul class ="tsd-parameters "> 971< li > 972< h5 > index:< span class ="tsd-signature-type "> number</ span ></ h5 > 973</ li > 974</ ul > 975< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 976</ li > 977</ ul > 978</ section > 979< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 980< a name ="selecttimingmethod "class ="tsd-anchor "></ a > 981< h3 > select< wbr > Timing< wbr > Method</ h3 > 982< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 983< li class ="tsd-signature tsd-kind-icon "> select< wbr > Timing< wbr > Method< span class ="tsd-signature-symbol "> (</ span > method< 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 >< span class ="tsd-signature-type "> void</ span ></ li > 984</ ul > 985< ul class ="tsd-descriptions "> 986< li class ="tsd-description "> 987< aside class ="tsd-sources "> 988< ul > 989< li > Defined in livesplit_core.ts:4295</ li > 990</ ul > 991</ aside > 992< div class ="tsd-comment tsd-typography "> 993< div class ="lead "> 994< p > Selects a different timing method for being modified.</ p > 995</ div > 996</ div > 997< h4 class ="tsd-parameters-title "> Parameters</ h4 > 998< ul class ="tsd-parameters "> 999< li > 1000< h5 > method:< span class ="tsd-signature-type "> number</ span ></ h5 > 1001</ li > 1002</ ul > 1003< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1004</ li > 1005</ ul > 1006</ section > 1007< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1008< a name ="setcategoryname "class ="tsd-anchor "></ a > 1009< h3 > set< wbr > Category< wbr > Name</ h3 > 1010< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1011< li class ="tsd-signature tsd-kind-icon "> set< wbr > Category< wbr > Name< span class ="tsd-signature-symbol "> (</ span > category< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1012</ ul > 1013< ul class ="tsd-descriptions "> 1014< li class ="tsd-description "> 1015< aside class ="tsd-sources "> 1016< ul > 1017< li > Defined in livesplit_core.ts:4351</ li > 1018</ ul > 1019</ aside > 1020< div class ="tsd-comment tsd-typography "> 1021< div class ="lead "> 1022< p > Sets the name of the category.</ p > 1023</ div > 1024</ div > 1025< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1026< ul class ="tsd-parameters "> 1027< li > 1028< h5 > category:< span class ="tsd-signature-type "> string</ span ></ h5 > 1029</ li > 1030</ ul > 1031< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1032</ li > 1033</ ul > 1034</ section > 1035< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1036< a name ="setemulatorusage "class ="tsd-anchor "></ a > 1037< h3 > set< wbr > Emulator< wbr > Usage</ h3 > 1038< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1039< li class ="tsd-signature tsd-kind-icon "> set< wbr > Emulator< wbr > Usage< span class ="tsd-signature-symbol "> (</ span > usesEmulator< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> boolean</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1040</ ul > 1041< ul class ="tsd-descriptions "> 1042< li class ="tsd-description "> 1043< aside class ="tsd-sources "> 1044< ul > 1045< li > Defined in livesplit_core.ts:4434</ li > 1046</ ul > 1047</ aside > 1048< div class ="tsd-comment tsd-typography "> 1049< div class ="lead "> 1050< p > Specifies whether this speedrun is done on an emulator. Keep in mind 1051 that false may also mean that this information is simply not known.</ p > 1052</ div > 1053</ div > 1054< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1055< ul class ="tsd-parameters "> 1056< li > 1057< h5 > usesEmulator:< span class ="tsd-signature-type "> boolean</ span ></ h5 > 1058</ li > 1059</ ul > 1060< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1061</ li > 1062</ ul > 1063</ section > 1064< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1065< a name ="setgameicon "class ="tsd-anchor "></ a > 1066< h3 > set< wbr > Game< wbr > Icon</ h3 > 1067< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1068< li class ="tsd-signature tsd-kind-icon "> set< wbr > Game< wbr > Icon< span class ="tsd-signature-symbol "> (</ span > data< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> number</ span > , length< 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 >< span class ="tsd-signature-type "> void</ span ></ li > 1069</ ul > 1070< ul class ="tsd-descriptions "> 1071< li class ="tsd-description "> 1072< aside class ="tsd-sources "> 1073< ul > 1074< li > Defined in livesplit_core.ts:4384</ li > 1075</ ul > 1076</ aside > 1077< div class ="tsd-comment tsd-typography "> 1078< div class ="lead "> 1079< p > Sets the game's icon.</ p > 1080</ div > 1081</ div > 1082< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1083< ul class ="tsd-parameters "> 1084< li > 1085< h5 > data:< span class ="tsd-signature-type "> number</ span ></ h5 > 1086</ li > 1087< li > 1088< h5 > length:< span class ="tsd-signature-type "> number</ span ></ h5 > 1089</ li > 1090</ ul > 1091< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1092</ li > 1093</ ul > 1094</ section > 1095< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1096< a name ="setgameiconfromarray "class ="tsd-anchor "></ a > 1097< h3 > set< wbr > Game< wbr > Icon< wbr > From< wbr > Array</ h3 > 1098< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1099< li class ="tsd-signature tsd-kind-icon "> set< wbr > Game< wbr > Icon< wbr > From< wbr > Array< span class ="tsd-signature-symbol "> (</ span > data< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> Int8Array</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1100</ ul > 1101< ul class ="tsd-descriptions "> 1102< li class ="tsd-description "> 1103< aside class ="tsd-sources "> 1104< ul > 1105< li > Defined in livesplit_core.ts:4696</ li > 1106</ ul > 1107</ aside > 1108< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1109< ul class ="tsd-parameters "> 1110< li > 1111< h5 > data:< span class ="tsd-signature-type "> Int8Array</ span ></ h5 > 1112</ li > 1113</ ul > 1114< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1115</ li > 1116</ ul > 1117</ section > 1118< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1119< a name ="setgamename "class ="tsd-anchor "></ a > 1120< h3 > set< wbr > Game< wbr > Name</ h3 > 1121< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1122< li class ="tsd-signature tsd-kind-icon "> set< wbr > Game< wbr > Name< span class ="tsd-signature-symbol "> (</ span > game< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1123</ ul > 1124< ul class ="tsd-descriptions "> 1125< li class ="tsd-description "> 1126< aside class ="tsd-sources "> 1127< ul > 1128< li > Defined in livesplit_core.ts:4342</ li > 1129</ ul > 1130</ aside > 1131< div class ="tsd-comment tsd-typography "> 1132< div class ="lead "> 1133< p > Sets the name of the game.</ p > 1134</ div > 1135</ div > 1136< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1137< ul class ="tsd-parameters "> 1138< li > 1139< h5 > game:< span class ="tsd-signature-type "> string</ span ></ h5 > 1140</ li > 1141</ ul > 1142< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1143</ li > 1144</ ul > 1145</ section > 1146< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1147< a name ="setplatformname "class ="tsd-anchor "></ a > 1148< h3 > set< wbr > Platform< wbr > Name</ h3 > 1149< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1150< li class ="tsd-signature tsd-kind-icon "> set< wbr > Platform< wbr > Name< span class ="tsd-signature-symbol "> (</ span > name< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1151</ ul > 1152< ul class ="tsd-descriptions "> 1153< li class ="tsd-description "> 1154< aside class ="tsd-sources "> 1155< ul > 1156< li > Defined in livesplit_core.ts:4424</ li > 1157</ ul > 1158</ aside > 1159< div class ="tsd-comment tsd-typography "> 1160< div class ="lead "> 1161< p > Sets the name of the platform this game is run on. This may be empty if 1162 it's not specified.</ p > 1163</ div > 1164</ div > 1165< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1166< ul class ="tsd-parameters "> 1167< li > 1168< h5 > name:< span class ="tsd-signature-type "> string</ span ></ h5 > 1169</ li > 1170</ ul > 1171< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1172</ li > 1173</ ul > 1174</ section > 1175< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1176< a name ="setregionname "class ="tsd-anchor "></ a > 1177< h3 > set< wbr > Region< wbr > Name</ h3 > 1178< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1179< li class ="tsd-signature tsd-kind-icon "> set< wbr > Region< wbr > Name< span class ="tsd-signature-symbol "> (</ span > name< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1180</ ul > 1181< ul class ="tsd-descriptions "> 1182< li class ="tsd-description "> 1183< aside class ="tsd-sources "> 1184< ul > 1185< li > Defined in livesplit_core.ts:4414</ li > 1186</ ul > 1187</ aside > 1188< div class ="tsd-comment tsd-typography "> 1189< div class ="lead "> 1190< p > Sets the name of the region this game is from. This may be empty if it's 1191 not specified.</ p > 1192</ div > 1193</ div > 1194< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1195< ul class ="tsd-parameters "> 1196< li > 1197< h5 > name:< span class ="tsd-signature-type "> string</ span ></ h5 > 1198</ li > 1199</ ul > 1200< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1201</ li > 1202</ ul > 1203</ section > 1204< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1205< a name ="setrunid "class ="tsd-anchor "></ a > 1206< h3 > set< wbr > Run< wbr > Id</ h3 > 1207< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1208< li class ="tsd-signature tsd-kind-icon "> set< wbr > Run< wbr > Id< span class ="tsd-signature-symbol "> (</ span > name< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1209</ ul > 1210< ul class ="tsd-descriptions "> 1211< li class ="tsd-description "> 1212< aside class ="tsd-sources "> 1213< ul > 1214< li > Defined in livesplit_core.ts:4404</ li > 1215</ ul > 1216</ aside > 1217< div class ="tsd-comment tsd-typography "> 1218< div class ="lead "> 1219< p > Sets the speedrun.com Run ID of the run. You need to ensure that the 1220 record on speedrun.com matches up with the Personal Best of this run. 1221 This may be empty if there's no association.</ p > 1222</ div > 1223</ div > 1224< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1225< ul class ="tsd-parameters "> 1226< li > 1227< h5 > name:< span class ="tsd-signature-type "> string</ span ></ h5 > 1228</ li > 1229</ ul > 1230< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1231</ li > 1232</ ul > 1233</ section > 1234< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1235< a name ="setvariable "class ="tsd-anchor "></ a > 1236< h3 > set< wbr > Variable</ h3 > 1237< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1238< li class ="tsd-signature tsd-kind-icon "> set< wbr > Variable< span class ="tsd-signature-symbol "> (</ span > name< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span > , value< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> string</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> void</ span ></ li > 1239</ ul > 1240< ul class ="tsd-descriptions "> 1241< li class ="tsd-description "> 1242< aside class ="tsd-sources "> 1243< ul > 1244< li > Defined in livesplit_core.ts:4447</ li > 1245</ ul > 1246</ aside > 1247< div class ="tsd-comment tsd-typography "> 1248< div class ="lead "> 1249< p > Sets the variable with the name specified to the value specified. A 1250 variable is an arbitrary key value pair storing additional information 1251 about the category. An example of this may be whether Amiibos are used 1252 in this category. If the variable doesn't exist yet, it is being 1253 inserted.</ p > 1254</ div > 1255</ div > 1256< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1257< ul class ="tsd-parameters "> 1258< li > 1259< h5 > name:< span class ="tsd-signature-type "> string</ span ></ h5 > 1260</ li > 1261< li > 1262< h5 > value:< span class ="tsd-signature-type "> string</ span ></ h5 > 1263</ li > 1264</ ul > 1265< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1266</ li > 1267</ ul > 1268</ section > 1269< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1270< a name ="stateasjson "class ="tsd-anchor "></ a > 1271< h3 > state< wbr > AsJson</ h3 > 1272< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1273< li class ="tsd-signature tsd-kind-icon "> state< wbr > AsJson< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> any</ span ></ li > 1274</ ul > 1275< ul class ="tsd-descriptions "> 1276< li class ="tsd-description "> 1277< aside class ="tsd-sources "> 1278< ul > 1279< li > Defined in livesplit_core.ts:4285</ li > 1280</ ul > 1281</ aside > 1282< div class ="tsd-comment tsd-typography "> 1283< div class ="lead "> 1284< p > Calculates the Run Editor's state and encodes it as 1285 JSON in order to visualize it.</ p > 1286</ div > 1287</ div > 1288< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> any</ span ></ h4 > 1289</ li > 1290</ ul > 1291</ section > 1292< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class "> 1293< a name ="unselect "class ="tsd-anchor "></ a > 1294< h3 > unselect</ h3 > 1295< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class "> 1296< li class ="tsd-signature tsd-kind-icon "> unselect< span class ="tsd-signature-symbol "> (</ span > index< 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 >< span class ="tsd-signature-type "> void</ span ></ li > 1297</ ul > 1298< ul class ="tsd-descriptions "> 1299< li class ="tsd-description "> 1300< aside class ="tsd-sources "> 1301< ul > 1302< li > Defined in livesplit_core.ts:4308</ li > 1303</ ul > 1304</ aside > 1305< div class ="tsd-comment tsd-typography "> 1306< div class ="lead "> 1307< p > Unselects the segment with the given index. If it's not selected or the 1308 index is out of bounds, nothing happens. The segment is not unselected, 1309 when it is the only segment that is selected. If the active segment is 1310 unselected, the most recently selected segment remaining becomes the 1311 active segment.</ p > 1312</ div > 1313</ div > 1314< h4 class ="tsd-parameters-title "> Parameters</ h4 > 1315< ul class ="tsd-parameters "> 1316< li > 1317< h5 > index:< span class ="tsd-signature-type "> number</ span ></ h5 > 1318</ li > 1319</ ul > 1320< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> void</ span ></ h4 > 1321</ li > 1322</ ul > 1323</ section > 1324</ section > 1325</ div > 1326< div class ="col-4 col-menu menu-sticky-wrap menu-highlight "> 1327< nav class ="tsd-navigation primary "> 1328< ul > 1329< li class ="globals "> 1330< a href ="../globals.html ">< em > Globals</ em ></ a > 1331</ li > 1332</ ul > 1333</ nav > 1334< nav class ="tsd-navigation secondary menu-sticky "> 1335< ul class ="before-current "> 1336</ ul > 1337< ul class ="current "> 1338< li class ="current tsd-kind-class "> 1339< a href ="runeditorrefmut.html "class ="tsd-kind-icon "> Run< wbr > Editor< wbr > Ref< wbr > Mut</ a > 1340< ul > 1341< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited "> 1342< a href ="runeditorrefmut.html#constructor "class ="tsd-kind-icon "> constructor</ a > 1343</ li > 1344< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited "> 1345< a href ="runeditorrefmut.html#ptr "class ="tsd-kind-icon "> ptr</ a > 1346</ li > 1347< li class ="tsd-kind-method tsd-parent-kind-class "> 1348< a href ="runeditorrefmut.html#activeparseandsetbestsegmenttime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Best< wbr > Segment< wbr > Time</ a > 1349</ li > 1350< li class ="tsd-kind-method tsd-parent-kind-class "> 1351< a href ="runeditorrefmut.html#activeparseandsetcomparisontime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Comparison< wbr > Time</ a > 1352</ li > 1353< li class ="tsd-kind-method tsd-parent-kind-class "> 1354< a href ="runeditorrefmut.html#activeparseandsetsegmenttime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Segment< wbr > Time</ a > 1355</ li > 1356< li class ="tsd-kind-method tsd-parent-kind-class "> 1357< a href ="runeditorrefmut.html#activeparseandsetsplittime "class ="tsd-kind-icon "> active< wbr > Parse< wbr > And< wbr > Set< wbr > Split< wbr > Time</ a > 1358</ li > 1359< li class ="tsd-kind-method tsd-parent-kind-class "> 1360< a href ="runeditorrefmut.html#activeremoveicon "class ="tsd-kind-icon "> active< wbr > Remove< wbr > Icon</ a > 1361</ li > 1362< li class ="tsd-kind-method tsd-parent-kind-class "> 1363< a href ="runeditorrefmut.html#activeseticon "class ="tsd-kind-icon "> active< wbr > Set< wbr > Icon</ a > 1364</ li > 1365< li class ="tsd-kind-method tsd-parent-kind-class "> 1366< a href ="runeditorrefmut.html#activeseticonfromarray "class ="tsd-kind-icon "> active< wbr > Set< wbr > Icon< wbr > From< wbr > Array</ a > 1367</ li > 1368< li class ="tsd-kind-method tsd-parent-kind-class "> 1369< a href ="runeditorrefmut.html#activesetname "class ="tsd-kind-icon "> active< wbr > Set< wbr > Name</ a > 1370</ li > 1371< li class ="tsd-kind-method tsd-parent-kind-class "> 1372< a href ="runeditorrefmut.html#addcomparison "class ="tsd-kind-icon "> add< wbr > Comparison</ a > 1373</ li > 1374< li class ="tsd-kind-method tsd-parent-kind-class "> 1375< a href ="runeditorrefmut.html#cleansumofbest "class ="tsd-kind-icon "> clean< wbr > Sum< wbr > OfBest</ a > 1376</ li > 1377< li class ="tsd-kind-method tsd-parent-kind-class "> 1378< a href ="runeditorrefmut.html#clearhistory "class ="tsd-kind-icon "> clear< wbr > History</ a > 1379</ li > 1380< li class ="tsd-kind-method tsd-parent-kind-class "> 1381< a href ="runeditorrefmut.html#clearmetadata "class ="tsd-kind-icon "> clear< wbr > Metadata</ a > 1382</ li > 1383< li class ="tsd-kind-method tsd-parent-kind-class "> 1384< a href ="runeditorrefmut.html#cleartimes "class ="tsd-kind-icon "> clear< wbr > Times</ a > 1385</ li > 1386< li class ="tsd-kind-method tsd-parent-kind-class "> 1387< a href ="runeditorrefmut.html#importcomparison "class ="tsd-kind-icon "> import< wbr > Comparison</ a > 1388</ li > 1389< li class ="tsd-kind-method tsd-parent-kind-class "> 1390< a href ="runeditorrefmut.html#insertsegmentabove "class ="tsd-kind-icon "> insert< wbr > Segment< wbr > Above</ a > 1391</ li > 1392< li class ="tsd-kind-method tsd-parent-kind-class "> 1393< a href ="runeditorrefmut.html#insertsegmentbelow "class ="tsd-kind-icon "> insert< wbr > Segment< wbr > Below</ a > 1394</ li > 1395< li class ="tsd-kind-method tsd-parent-kind-class "> 1396< a href ="runeditorrefmut.html#movecomparison "class ="tsd-kind-icon "> move< wbr > Comparison</ a > 1397</ li > 1398< li class ="tsd-kind-method tsd-parent-kind-class "> 1399< a href ="runeditorrefmut.html#movesegmentsdown "class ="tsd-kind-icon "> move< wbr > Segments< wbr > Down</ a > 1400</ li > 1401< li class ="tsd-kind-method tsd-parent-kind-class "> 1402< a href ="runeditorrefmut.html#movesegmentsup "class ="tsd-kind-icon "> move< wbr > Segments< wbr > Up</ a > 1403</ li > 1404< li class ="tsd-kind-method tsd-parent-kind-class "> 1405< a href ="runeditorrefmut.html#parseandsetattemptcount "class ="tsd-kind-icon "> parse< wbr > And< wbr > Set< wbr > Attempt< wbr > Count</ a > 1406</ li > 1407< li class ="tsd-kind-method tsd-parent-kind-class "> 1408< a href ="runeditorrefmut.html#parseandsetoffset "class ="tsd-kind-icon "> parse< wbr > And< wbr > Set< wbr > Offset</ a > 1409</ li > 1410< li class ="tsd-kind-method tsd-parent-kind-class "> 1411< a href ="runeditorrefmut.html#removecomparison "class ="tsd-kind-icon "> remove< wbr > Comparison</ a > 1412</ li > 1413< li class ="tsd-kind-method tsd-parent-kind-class "> 1414< a href ="runeditorrefmut.html#removegameicon "class ="tsd-kind-icon "> remove< wbr > Game< wbr > Icon</ a > 1415</ li > 1416< li class ="tsd-kind-method tsd-parent-kind-class "> 1417< a href ="runeditorrefmut.html#removesegments "class ="tsd-kind-icon "> remove< wbr > Segments</ a > 1418</ li > 1419< li class ="tsd-kind-method tsd-parent-kind-class "> 1420< a href ="runeditorrefmut.html#removevariable "class ="tsd-kind-icon "> remove< wbr > Variable</ a > 1421</ li > 1422< li class ="tsd-kind-method tsd-parent-kind-class "> 1423< a href ="runeditorrefmut.html#renamecomparison "class ="tsd-kind-icon "> rename< wbr > Comparison</ a > 1424</ li > 1425< li class ="tsd-kind-method tsd-parent-kind-class "> 1426< a href ="runeditorrefmut.html#selectadditionally "class ="tsd-kind-icon "> select< wbr > Additionally</ a > 1427</ li > 1428< li class ="tsd-kind-method tsd-parent-kind-class "> 1429< a href ="runeditorrefmut.html#selectonly "class ="tsd-kind-icon "> select< wbr > Only</ a > 1430</ li > 1431< li class ="tsd-kind-method tsd-parent-kind-class "> 1432< a href ="runeditorrefmut.html#selecttimingmethod "class ="tsd-kind-icon "> select< wbr > Timing< wbr > Method</ a > 1433</ li > 1434< li class ="tsd-kind-method tsd-parent-kind-class "> 1435< a href ="runeditorrefmut.html#setcategoryname "class ="tsd-kind-icon "> set< wbr > Category< wbr > Name</ a > 1436</ li > 1437< li class ="tsd-kind-method tsd-parent-kind-class "> 1438< a href ="runeditorrefmut.html#setemulatorusage "class ="tsd-kind-icon "> set< wbr > Emulator< wbr > Usage</ a > 1439</ li > 1440< li class ="tsd-kind-method tsd-parent-kind-class "> 1441< a href ="runeditorrefmut.html#setgameicon "class ="tsd-kind-icon "> set< wbr > Game< wbr > Icon</ a > 1442</ li > 1443< li class ="tsd-kind-method tsd-parent-kind-class "> 1444< a href ="runeditorrefmut.html#setgameiconfromarray "class ="tsd-kind-icon "> set< wbr > Game< wbr > Icon< wbr > From< wbr > Array</ a > 1445</ li > 1446< li class ="tsd-kind-method tsd-parent-kind-class "> 1447< a href ="runeditorrefmut.html#setgamename "class ="tsd-kind-icon "> set< wbr > Game< wbr > Name</ a > 1448</ li > 1449< li class ="tsd-kind-method tsd-parent-kind-class "> 1450< a href ="runeditorrefmut.html#setplatformname "class ="tsd-kind-icon "> set< wbr > Platform< wbr > Name</ a > 1451</ li > 1452< li class ="tsd-kind-method tsd-parent-kind-class "> 1453< a href ="runeditorrefmut.html#setregionname "class ="tsd-kind-icon "> set< wbr > Region< wbr > Name</ a > 1454</ li > 1455< li class ="tsd-kind-method tsd-parent-kind-class "> 1456< a href ="runeditorrefmut.html#setrunid "class ="tsd-kind-icon "> set< wbr > Run< wbr > Id</ a > 1457</ li > 1458< li class ="tsd-kind-method tsd-parent-kind-class "> 1459< a href ="runeditorrefmut.html#setvariable "class ="tsd-kind-icon "> set< wbr > Variable</ a > 1460</ li > 1461< li class ="tsd-kind-method tsd-parent-kind-class "> 1462< a href ="runeditorrefmut.html#stateasjson "class ="tsd-kind-icon "> state< wbr > AsJson</ a > 1463</ li > 1464< li class ="tsd-kind-method tsd-parent-kind-class "> 1465< a href ="runeditorrefmut.html#unselect "class ="tsd-kind-icon "> unselect</ a > 1466</ li > 1467</ ul > 1468</ li > 1469</ ul > 1470< ul class ="after-current "> 1471</ ul > 1472</ nav > 1473</ div > 1474</ div > 1475</ div > 1476< footer class ="with-border-bottom "> 1477< div class ="container "> 1478< h2 > Legend</ h2 > 1479< div class ="tsd-legend-group "> 1480< ul class ="tsd-legend "> 1481< li class ="tsd-kind-module ">< span class ="tsd-kind-icon "> Module</ span ></ li > 1482< li class ="tsd-kind-object-literal ">< span class ="tsd-kind-icon "> Object literal</ span ></ li > 1483< li class ="tsd-kind-variable ">< span class ="tsd-kind-icon "> Variable</ span ></ li > 1484< li class ="tsd-kind-function ">< span class ="tsd-kind-icon "> Function</ span ></ li > 1485< li class ="tsd-kind-function tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Function with type parameter</ span ></ li > 1486< li class ="tsd-kind-index-signature ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 1487< li class ="tsd-kind-type-alias ">< span class ="tsd-kind-icon "> Type alias</ span ></ li > 1488</ ul > 1489< ul class ="tsd-legend "> 1490< li class ="tsd-kind-enum ">< span class ="tsd-kind-icon "> Enumeration</ span ></ li > 1491< li class ="tsd-kind-enum-member ">< span class ="tsd-kind-icon "> Enumeration member</ span ></ li > 1492< li class ="tsd-kind-property tsd-parent-kind-enum ">< span class ="tsd-kind-icon "> Property</ span ></ li > 1493< li class ="tsd-kind-method tsd-parent-kind-enum ">< span class ="tsd-kind-icon "> Method</ span ></ li > 1494</ ul > 1495< ul class ="tsd-legend "> 1496< li class ="tsd-kind-interface ">< span class ="tsd-kind-icon "> Interface</ span ></ li > 1497< li class ="tsd-kind-interface tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Interface with type parameter</ span ></ li > 1498< li class ="tsd-kind-constructor tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Constructor</ span ></ li > 1499< li class ="tsd-kind-property tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Property</ span ></ li > 1500< li class ="tsd-kind-method tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Method</ span ></ li > 1501< li class ="tsd-kind-index-signature tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 1502</ ul > 1503< ul class ="tsd-legend "> 1504< li class ="tsd-kind-class ">< span class ="tsd-kind-icon "> Class</ span ></ li > 1505< li class ="tsd-kind-class tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Class with type parameter</ span ></ li > 1506< li class ="tsd-kind-constructor tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Constructor</ span ></ li > 1507< li class ="tsd-kind-property tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Property</ span ></ li > 1508< li class ="tsd-kind-method tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Method</ span ></ li > 1509< li class ="tsd-kind-accessor tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Accessor</ span ></ li > 1510< li class ="tsd-kind-index-signature tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 1511</ ul > 1512< ul class ="tsd-legend "> 1513< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited constructor</ span ></ li > 1514< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited property</ span ></ li > 1515< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited method</ span ></ li > 1516< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited accessor</ span ></ li > 1517</ ul > 1518< ul class ="tsd-legend "> 1519< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected property</ span ></ li > 1520< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected method</ span ></ li > 1521< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected accessor</ span ></ li > 1522</ ul > 1523< ul class ="tsd-legend "> 1524< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private property</ span ></ li > 1525< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private method</ span ></ li > 1526< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private accessor</ span ></ li > 1527</ ul > 1528< ul class ="tsd-legend "> 1529< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-static ">< span class ="tsd-kind-icon "> Static property</ span ></ li > 1530< li class ="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static ">< span class ="tsd-kind-icon "> Static method</ span ></ li > 1531</ ul > 1532</ div > 1533</ div > 1534</ footer > 1535< div class ="container tsd-generator "> 1536< p > Generated using< a href ="http://typedoc.org/ "target ="_blank "> TypeDoc</ a ></ p > 1537</ div > 1538< div class ="overlay "></ div > 1539< script src ="../assets/js/main.js "></ script > 1540< script > if ( location . protocol == 'file:' ) document . write ( '<script src="../assets/js/search.js"><' + '/script>' );</ script > 1541</ body > 1542</ html >