fork/livesplit-core

git clone https://git.julia.blue/fork/livesplit-core

Christopher SerrAdd docsee16b86

v0.11.0
13.9 KiB294 linesraw
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>SegmentHistoryRefMut | 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="segmenthistoryrefmut.html">SegmentHistoryRefMut</a>
60				</li>
61			</ul>
62			<h1>Class SegmentHistoryRefMut</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>Stores the segment times achieved for a certain segment. Each segment is
73							tagged with an index. Only segment times with an index larger than 0 are
74							considered times actually achieved by the runner, while the others are
75						artifacts of route changes and similar algorithmic changes.</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="segmenthistoryref.html" class="tsd-signature-type">SegmentHistoryRef</a>
84						<ul class="tsd-hierarchy">
85							<li>
86								<span class="target">SegmentHistoryRefMut</span>
87								<ul class="tsd-hierarchy">
88									<li>
89										<a href="segmenthistory.html" class="tsd-signature-type">SegmentHistory</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="segmenthistoryrefmut.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="segmenthistoryrefmut.html#ptr" class="tsd-kind-icon">ptr</a></li>
111							</ul>
112						</section>
113						<section class="tsd-index-section tsd-is-inherited">
114							<h3>Methods</h3>
115							<ul class="tsd-index-list">
116								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="segmenthistoryrefmut.html#iter" class="tsd-kind-icon">iter</a></li>
117							</ul>
118						</section>
119					</div>
120				</section>
121			</section>
122			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
123				<h2>Constructors</h2>
124				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
125					<a name="constructor" class="tsd-anchor"></a>
126					<h3>constructor</h3>
127					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
128						<li class="tsd-signature tsd-kind-icon">new <wbr>Segment<wbr>History<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="segmenthistoryrefmut.html" class="tsd-signature-type">SegmentHistoryRefMut</a></li>
129					</ul>
130					<ul class="tsd-descriptions">
131						<li class="tsd-description">
132							<aside class="tsd-sources">
133								<p>Inherited from <a href="segmenthistoryref.html">SegmentHistoryRef</a>.<a href="segmenthistoryref.html#constructor">constructor</a></p>
134								<ul>
135									<li>Defined in livesplit_core.ts:5171</li>
136								</ul>
137							</aside>
138							<div class="tsd-comment tsd-typography">
139								<div class="lead">
140									<p>This constructor is an implementation detail. Do not use this.</p>
141								</div>
142							</div>
143							<h4 class="tsd-parameters-title">Parameters</h4>
144							<ul class="tsd-parameters">
145								<li>
146									<h5>ptr: <span class="tsd-signature-type">number</span></h5>
147								</li>
148							</ul>
149							<h4 class="tsd-returns-title">Returns <a href="segmenthistoryrefmut.html" class="tsd-signature-type">SegmentHistoryRefMut</a></h4>
150						</li>
151					</ul>
152				</section>
153			</section>
154			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
155				<h2>Properties</h2>
156				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
157					<a name="ptr" class="tsd-anchor"></a>
158					<h3>ptr</h3>
159					<div class="tsd-signature tsd-kind-icon">ptr<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
160					<aside class="tsd-sources">
161						<p>Inherited from <a href="segmenthistoryref.html">SegmentHistoryRef</a>.<a href="segmenthistoryref.html#ptr">ptr</a></p>
162						<ul>
163							<li>Defined in livesplit_core.ts:5161</li>
164						</ul>
165					</aside>
166				</section>
167			</section>
168			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
169				<h2>Methods</h2>
170				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
171					<a name="iter" class="tsd-anchor"></a>
172					<h3>iter</h3>
173					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
174						<li class="tsd-signature tsd-kind-icon">iter<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="segmenthistoryiter.html" class="tsd-signature-type">SegmentHistoryIter</a></li>
175					</ul>
176					<ul class="tsd-descriptions">
177						<li class="tsd-description">
178							<aside class="tsd-sources">
179								<p>Inherited from <a href="segmenthistoryref.html">SegmentHistoryRef</a>.<a href="segmenthistoryref.html#iter">iter</a></p>
180								<ul>
181									<li>Defined in livesplit_core.ts:5165</li>
182								</ul>
183							</aside>
184							<div class="tsd-comment tsd-typography">
185								<div class="lead">
186									<p>Iterates over all the segment times and their indices.</p>
187								</div>
188							</div>
189							<h4 class="tsd-returns-title">Returns <a href="segmenthistoryiter.html" class="tsd-signature-type">SegmentHistoryIter</a></h4>
190						</li>
191					</ul>
192				</section>
193			</section>
194		</div>
195		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
196			<nav class="tsd-navigation primary">
197				<ul>
198					<li class="globals  ">
199						<a href="../globals.html"><em>Globals</em></a>
200					</li>
201				</ul>
202			</nav>
203			<nav class="tsd-navigation secondary menu-sticky">
204				<ul class="before-current">
205				</ul>
206				<ul class="current">
207					<li class="current tsd-kind-class">
208						<a href="segmenthistoryrefmut.html" class="tsd-kind-icon">Segment<wbr>History<wbr>Ref<wbr>Mut</a>
209						<ul>
210							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
211								<a href="segmenthistoryrefmut.html#constructor" class="tsd-kind-icon">constructor</a>
212							</li>
213							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
214								<a href="segmenthistoryrefmut.html#ptr" class="tsd-kind-icon">ptr</a>
215							</li>
216							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
217								<a href="segmenthistoryrefmut.html#iter" class="tsd-kind-icon">iter</a>
218							</li>
219						</ul>
220					</li>
221				</ul>
222				<ul class="after-current">
223				</ul>
224			</nav>
225		</div>
226	</div>
227</div>
228<footer class="with-border-bottom">
229	<div class="container">
230		<h2>Legend</h2>
231		<div class="tsd-legend-group">
232			<ul class="tsd-legend">
233				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
234				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
235				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
236				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
237				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
238				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
239				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
240			</ul>
241			<ul class="tsd-legend">
242				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
243				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
244				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
245				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
246			</ul>
247			<ul class="tsd-legend">
248				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
249				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
250				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
251				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
252				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
253				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
254			</ul>
255			<ul class="tsd-legend">
256				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
257				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
258				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
259				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
260				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
261				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
262				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
263			</ul>
264			<ul class="tsd-legend">
265				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
266				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
267				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
268				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
269			</ul>
270			<ul class="tsd-legend">
271				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
272				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
273				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
274			</ul>
275			<ul class="tsd-legend">
276				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
277				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
278				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
279			</ul>
280			<ul class="tsd-legend">
281				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
282				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
283			</ul>
284		</div>
285	</div>
286</footer>
287<div class="container tsd-generator">
288	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
289</div>
290<div class="overlay"></div>
291<script src="../assets/js/main.js"></script>
292<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
293</body>
294</html>