-
Notifications
You must be signed in to change notification settings - Fork 1
/
addon-instance_2_game_8h_source.html
881 lines (879 loc) · 166 KB
/
addon-instance_2_game_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Kodi Development: /home/alwin/Development/Kodi/kodi-N-sync-addon-doxygen/xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/Game.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="kodi-dev.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Kodi Development
 <span id="projectnumber">20.0</span>
</div>
<div id="projectbrief">for Binary and Script based Add-Ons</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.svg"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('addon-instance_2_game_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">Game.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (C) 2014-2018 Team Kodi</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * This file is part of Kodi - https://kodi.tv</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * SPDX-License-Identifier: GPL-2.0-or-later</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * See LICENSES/README.md for more information.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "../AddonBase.h"</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "../c-api/addon-instance/game.h"</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">namespace </span>kodi</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">namespace </span>addon</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"></span> </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"></span> </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html"> 44</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#classkodi_1_1addon_1_1_game_controller_layout">GameControllerLayout</a></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">explicit</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#classkodi_1_1addon_1_1_game_controller_layout">GameControllerLayout</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#classkodi_1_1addon_1_1_game_controller_layout">GameControllerLayout</a>(<span class="keyword">const</span> game_controller_layout& layout)</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  {</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a8107240380e45e36f558a4f640b56dd4">controller_id</a> = layout.controller_id;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a45d221de8a4dc3dec6ed70a28d314c0d">provides_input</a> = layout.provides_input;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.digital_button_count; ++i)</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a61f83258d666517b92e0b03a6bb3bda6">digital_buttons</a>.push_back(layout.digital_buttons[i]);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.analog_button_count; ++i)</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a04e82e2bb65f680df115308821b4940b">analog_buttons</a>.push_back(layout.analog_buttons[i]);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.analog_stick_count; ++i)</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#ab6597eba0e86cb9924c6e75d9c1a53af">analog_sticks</a>.push_back(layout.analog_sticks[i]);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.accelerometer_count; ++i)</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a1ea5f9074b1ba487c19630d52af5a620">accelerometers</a>.push_back(layout.accelerometers[i]);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.key_count; ++i)</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#aa97499ee2d1b88d53a6da452d4e5029a">keys</a>.push_back(layout.keys[i]);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.rel_pointer_count; ++i)</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a9891898814353b1cfe262de36d082f89">rel_pointers</a>.push_back(layout.rel_pointers[i]);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.abs_pointer_count; ++i)</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6333e3dc14e22c85f5925c6d40372fc7">abs_pointers</a>.push_back(layout.abs_pointers[i]);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layout.motor_count; ++i)</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6afdb6b13fe3c9854af7169371bd10ec">motors</a>.push_back(layout.motors[i]);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a8107240380e45e36f558a4f640b56dd4"> 73</a></span>  std::string <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a8107240380e45e36f558a4f640b56dd4">controller_id</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a45d221de8a4dc3dec6ed70a28d314c0d"> 78</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a45d221de8a4dc3dec6ed70a28d314c0d">provides_input</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a61f83258d666517b92e0b03a6bb3bda6"> 81</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a61f83258d666517b92e0b03a6bb3bda6">digital_buttons</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a04e82e2bb65f680df115308821b4940b"> 84</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a04e82e2bb65f680df115308821b4940b">analog_buttons</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#ab6597eba0e86cb9924c6e75d9c1a53af"> 87</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#ab6597eba0e86cb9924c6e75d9c1a53af">analog_sticks</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a1ea5f9074b1ba487c19630d52af5a620"> 90</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a1ea5f9074b1ba487c19630d52af5a620">accelerometers</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#aa97499ee2d1b88d53a6da452d4e5029a"> 93</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#aa97499ee2d1b88d53a6da452d4e5029a">keys</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a9891898814353b1cfe262de36d082f89"> 96</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a9891898814353b1cfe262de36d082f89">rel_pointers</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6333e3dc14e22c85f5925c6d40372fc7"> 99</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6333e3dc14e22c85f5925c6d40372fc7">abs_pointers</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6afdb6b13fe3c9854af7169371bd10ec"> 102</a></span>  std::vector<std::string> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6afdb6b13fe3c9854af7169371bd10ec">motors</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> };</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classkodi_1_1addon_1_1_c_instance_game.html"> 116</a></span> <span class="comment"></span><span class="keyword">class </span>ATTRIBUTE_HIDDEN <a class="code" href="classkodi_1_1addon_1_1_c_instance_game.html">CInstanceGame</a> : <span class="keyword">public</span> <a class="code" href="classkodi_1_1addon_1_1_i_addon_instance.html">IAddonInstance</a></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment"></span> </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga1ce87a740156e6b074e3044f32f077a1"> 161</a></span> <span class="comment"></span> <a class="code" href="group__cpp__kodi__addon__game___base.html#ga1ce87a740156e6b074e3044f32f077a1">CInstanceGame</a>() : <a class="code" href="classkodi_1_1addon_1_1_i_addon_instance.html">IAddonInstance</a>(<a class="code" href="group__cpp__kodi__addon__addonbase___defs___a_d_d_o_n___t_y_p_e.html#ggada0b4c3c9f9c168e5e1c27145ec72357aecc91460b62782c25d0b5e0fd8251dee">ADDON_INSTANCE_GAME</a>, <a class="code" href="group__cpp__kodi.html#ga3f6e41fe0bc423ec7d065fbdf3f47e98">GetKodiTypeVersion</a>(<a class="code" href="group__cpp__kodi__addon__addonbase___defs___a_d_d_o_n___t_y_p_e.html#ggada0b4c3c9f9c168e5e1c27145ec72357aecc91460b62782c25d0b5e0fd8251dee">ADDON_INSTANCE_GAME</a>))</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  {</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">if</span> (CAddonBase::m_interface->globalSingleInstance != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">throw</span> std::logic_error(<span class="stringliteral">"kodi::addon::CInstanceGame: Creation of more as one in single "</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="stringliteral">"instance way is not allowed!"</span>);</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  SetAddonStruct(CAddonBase::m_interface->firstKodiInstance);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  CAddonBase::m_interface->globalSingleInstance = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga9f0f810a8f98e4413dc1941c05d8b39e"> 175</a></span> <span class="comment"></span> <a class="code" href="group__cpp__kodi__addon__game___base.html#ga9f0f810a8f98e4413dc1941c05d8b39e">~CInstanceGame</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga1f8da488d17cd096375c2b648275732d"> 186</a></span> <span class="comment"></span> std::string <a class="code" href="group__cpp__kodi__addon__game___base.html#ga1f8da488d17cd096375c2b648275732d">GameClientDllPath</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_instanceData->props->game_client_dll_path; }</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  </div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga7ed3d7c7f56095df2431233e38f8937b"> 198</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___base.html#ga7ed3d7c7f56095df2431233e38f8937b">ProxyDllPaths</a>(std::vector<std::string>& paths)</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  {</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < m_instanceData->props->proxy_dll_count; ++i)</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  {</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">if</span> (m_instanceData->props->proxy_dll_paths[i] != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  paths.push_back(m_instanceData->props->proxy_dll_paths[i]);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  }</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span> !paths.empty();</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  }</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga841dbbbf475e93cfeb2c3a38f318680b"> 220</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___base.html#ga841dbbbf475e93cfeb2c3a38f318680b">ResourceDirectories</a>(std::vector<std::string>& dirs)</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < m_instanceData->props->resource_directory_count; ++i)</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  {</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">if</span> (m_instanceData->props->resource_directories[i] != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  dirs.push_back(m_instanceData->props->resource_directories[i]);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">return</span> !dirs.empty();</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  }</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga8f7eb8c92fcbb605c1d21c31df6bc77c"> 243</a></span> <span class="comment"></span> std::string <a class="code" href="group__cpp__kodi__addon__game___base.html#ga8f7eb8c92fcbb605c1d21c31df6bc77c">ProfileDirectory</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_instanceData->props->profile_directory; }</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  </div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#ga9c94053e1fa1e3a06fb860f9e4d556f8"> 254</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___base.html#ga9c94053e1fa1e3a06fb860f9e4d556f8">SupportsVFS</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_instanceData->props->supports_vfs; }</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  </div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___base.html#gac94d3caff821fb8e4441a758302f3f87"> 266</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___base.html#gac94d3caff821fb8e4441a758302f3f87">Extensions</a>(std::vector<std::string>& extensions)</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  {</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < m_instanceData->props->extension_count; ++i)</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  {</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">if</span> (m_instanceData->props->extensions[i] != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  extensions.push_back(m_instanceData->props->extensions[i]);</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  }</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">return</span> !extensions.empty();</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  }</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  </div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment">//--==----==----==----==----==----==----==----==----==----==----==----==----==--</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  </div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="comment"></span> </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#gae57f40435a8996393b3b151586ca8d19"> 308</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#gae57f40435a8996393b3b151586ca8d19">LoadGame</a>(<span class="keyword">const</span> std::string& url)</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  {</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  }</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga024f7ff502652263acdc28d5086e0ca6"> 321</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga024f7ff502652263acdc28d5086e0ca6">LoadGameSpecial</a>(<a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#gae227c65af490275c3e3c9b885457ac38">SPECIAL_GAME_TYPE</a> type, <span class="keyword">const</span> std::vector<std::string>& urls)</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  {</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  }</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  </div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga88b7876256d63c652dd8743c255380f9"> 337</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga88b7876256d63c652dd8743c255380f9">LoadStandalone</a>()</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  {</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  }</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  </div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga03d0df14967c92b5ae74ab7e322f74ba"> 350</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga03d0df14967c92b5ae74ab7e322f74ba">UnloadGame</a>()</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  {</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  }</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  </div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga254a2c23c58b85b64f25fb6e44389555"> 363</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga254a2c23c58b85b64f25fb6e44389555">GetGameTiming</a>(<a class="code" href="group__cpp__kodi__addon__game___defs___environment_types.html#structgame__system__timing">game_system_timing</a>& timing_info)</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  {</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  }</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#gafcb76519f7333ac37e190ad109cecd60"> 374</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#gac33f5cc9e9651c9cb1693afb1b884e60">GAME_REGION</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#gafcb76519f7333ac37e190ad109cecd60">GetRegion</a>()</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  {</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#ggac33f5cc9e9651c9cb1693afb1b884e60acdbaf601ad806397966ab91c3fe92906">GAME_REGION_UNKNOWN</a>;</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  }</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  </div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga4c29e16c942758334004e577cdc3cb03"> 388</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga4c29e16c942758334004e577cdc3cb03">RequiresGameLoop</a>()</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  {</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  </div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga3749c6dd93b1a869e80961f8a4377272"> 399</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga3749c6dd93b1a869e80961f8a4377272">RunFrame</a>()</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  {</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  }</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  </div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#ga8452850b86c09572d0e6a08a2d0b4eeb"> 410</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___operation.html#ga8452850b86c09572d0e6a08a2d0b4eeb">Reset</a>()</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  {</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  }</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  </div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation.html#gaae0ae25b20382135f1625dc0f41ecd03"> 422</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="group__cpp__kodi__addon__game___operation.html#gaae0ae25b20382135f1625dc0f41ecd03">CloseGame</a>(<span class="keywordtype">void</span>) { m_instanceData->toKodi->CloseGame(m_instanceData->toKodi->kodiInstance); }</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  </div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="classkodi_1_1addon_1_1_c_instance_game_1_1_c_stream.html"> 437</a></span> <span class="comment"></span> <span class="keyword">class </span><a class="code" href="classkodi_1_1addon_1_1_c_instance_game_1_1_c_stream.html">CStream</a></div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  {</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <a class="code" href="classkodi_1_1addon_1_1_c_instance_game_1_1_c_stream.html">CStream</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  </div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <a class="code" href="classkodi_1_1addon_1_1_c_instance_game_1_1_c_stream.html">CStream</a>(<span class="keyword">const</span> <a class="code" href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__properties">game_stream_properties</a>& properties)</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  {</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  Open(properties);</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  }</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  </div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  ~<a class="code" href="classkodi_1_1addon_1_1_c_instance_game_1_1_c_stream.html">CStream</a>()</div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  {</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  Close();</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  }</div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  </div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00461"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation___c_stream.html#gaec661cb2304d3b85b8bcc0fa63d06481"> 461</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___operation___c_stream.html#gaec661cb2304d3b85b8bcc0fa63d06481">Open</a>(<span class="keyword">const</span> <a class="code" href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__properties">game_stream_properties</a>& properties)</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  {</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordflow">if</span> (!CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  </div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keywordflow">if</span> (m_handle)</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  {</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <a class="code" href="group__cpp__kodi.html#gaaa1f205f9375cd086229a1455ede11cc">kodi::Log</a>(<a class="code" href="group__cpp__kodi___defs___addon_log.html#gga913895aaf2ef685961947f8d6b93e038a63f8ea3699765964c764b141bf41e9cc">ADDON_LOG_INFO</a>, <span class="stringliteral">"kodi::addon::CInstanceGame::CStream already becomes reopened"</span>);</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  Close();</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  }</div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  </div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <a class="code" href="struct_addon_to_kodi_func_table___game.html">AddonToKodiFuncTable_Game</a>& cb =</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  *<span class="keyword">static_cast<</span><a class="code" href="classkodi_1_1addon_1_1_c_instance_game.html">CInstanceGame</a>*<span class="keyword">></span>(CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  ->m_instanceData->toKodi;</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  m_handle = cb.OpenStream(cb.kodiInstance, &properties);</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="keywordflow">return</span> m_handle != <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  }</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  </div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation___c_stream.html#ga7f7a3199c392465d0767c6506c1af5b4"> 486</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="group__cpp__kodi__addon__game___operation___c_stream.html#ga7f7a3199c392465d0767c6506c1af5b4">Close</a>()</div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  {</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keywordflow">if</span> (!m_handle || !CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  </div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <a class="code" href="struct_addon_to_kodi_func_table___game.html">AddonToKodiFuncTable_Game</a>& cb =</div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  *<span class="keyword">static_cast<</span><a class="code" href="classkodi_1_1addon_1_1_c_instance_game.html">CInstanceGame</a>*<span class="keyword">></span>(CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  ->m_instanceData->toKodi;</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  cb.CloseStream(cb.kodiInstance, m_handle);</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  m_handle = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  }</div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  </div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation___c_stream.html#gaa046b3cd4dbd88eca02cde486fb78a93"> 512</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___operation___c_stream.html#gaa046b3cd4dbd88eca02cde486fb78a93">GetBuffer</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height, <a class="code" href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__buffer">game_stream_buffer</a>& buffer)</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  {</div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <span class="keywordflow">if</span> (!m_handle || !CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  </div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  <a class="code" href="struct_addon_to_kodi_func_table___game.html">AddonToKodiFuncTable_Game</a>& cb =</div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  *<span class="keyword">static_cast<</span><a class="code" href="classkodi_1_1addon_1_1_c_instance_game.html">CInstanceGame</a>*<span class="keyword">></span>(CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  ->m_instanceData->toKodi;</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <span class="keywordflow">return</span> cb.GetStreamBuffer(cb.kodiInstance, m_handle, width, height, &buffer);</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  }</div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  </div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00532"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation___c_stream.html#gae3a7712ac72e5d0aa16035d3a712735a"> 532</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="group__cpp__kodi__addon__game___operation___c_stream.html#gae3a7712ac72e5d0aa16035d3a712735a">AddData</a>(<span class="keyword">const</span> <a class="code" href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__packet">game_stream_packet</a>& packet)</div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  {</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  <span class="keywordflow">if</span> (!m_handle || !CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  </div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  <a class="code" href="struct_addon_to_kodi_func_table___game.html">AddonToKodiFuncTable_Game</a>& cb =</div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  *<span class="keyword">static_cast<</span><a class="code" href="classkodi_1_1addon_1_1_c_instance_game.html">CInstanceGame</a>*<span class="keyword">></span>(CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  ->m_instanceData->toKodi;</div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  cb.AddStreamData(cb.kodiInstance, m_handle, &packet);</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  }</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  </div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00552"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation___c_stream.html#ga214c1c73a55e8bebb3e3a2331d592e02"> 552</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="group__cpp__kodi__addon__game___operation___c_stream.html#ga214c1c73a55e8bebb3e3a2331d592e02">ReleaseBuffer</a>(<a class="code" href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__buffer">game_stream_buffer</a>& buffer)</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  {</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  <span class="keywordflow">if</span> (!m_handle || !CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  </div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  <a class="code" href="struct_addon_to_kodi_func_table___game.html">AddonToKodiFuncTable_Game</a>& cb =</div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  *<span class="keyword">static_cast<</span><a class="code" href="classkodi_1_1addon_1_1_c_instance_game.html">CInstanceGame</a>*<span class="keyword">></span>(CAddonBase::m_interface->globalSingleInstance)</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  ->m_instanceData->toKodi;</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  cb.ReleaseStreamBuffer(cb.kodiInstance, m_handle, &buffer);</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  }</div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  </div>
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00572"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___operation___c_stream.html#ga1d904961859394313fe20f7f4d6fc784"> 572</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___operation___c_stream.html#ga1d904961859394313fe20f7f4d6fc784">IsOpen</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_handle != <span class="keyword">nullptr</span>; }</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  </div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  KODI_GAME_STREAM_HANDLE m_handle = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  };</div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  </div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  </div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="comment">//--==----==----==----==----==----==----==----==----==----==----==----==----==--</span></div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  </div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span> <span class="comment"></span> </div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00609"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___hardware_rendering.html#ga4e62b5e5f8c681379c267c21d8e68969"> 609</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___hardware_rendering.html#ga4e62b5e5f8c681379c267c21d8e68969">HwContextReset</a>()</div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  {</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  }</div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>  </div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00622"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___hardware_rendering.html#ga2ae79c17e174f773ae0a228faa475400"> 622</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___hardware_rendering.html#ga2ae79c17e174f773ae0a228faa475400">HwContextDestroy</a>()</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>  {</div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  }</div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>  </div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00636"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___hardware_rendering.html#gae56ab5b89b821a5e84dc163fe424c8f7"> 636</a></span> <span class="comment"></span> <a class="code" href="group__cpp__kodi__addon__game___defs___hardware_framebuffer.html#ga7e99c45dc3001a78b3d5fcdb38515d53">game_proc_address_t</a> <a class="code" href="group__cpp__kodi__addon__game___hardware_rendering.html#gae56ab5b89b821a5e84dc163fe424c8f7">HwGetProcAddress</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* sym)</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>  {</div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>  <span class="keywordflow">return</span> m_instanceData->toKodi->HwGetProcAddress(m_instanceData->toKodi->kodiInstance, sym);</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  }</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  </div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  </div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span> <span class="comment">//--==----==----==----==----==----==----==----==----==----==----==----==----==--</span></div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  </div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span> <span class="comment"></span> </div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00675"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#ga0caf17539e0b322620d9a2762f20e63d"> 675</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#ga0caf17539e0b322620d9a2762f20e63d">HasFeature</a>(<span class="keyword">const</span> std::string& controller_id, <span class="keyword">const</span> std::string& feature_name)</div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>  {</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>  }</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>  </div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#ga516f68885c3c89262d67eb12fb442e06"> 692</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__topology">game_input_topology</a>* <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#ga516f68885c3c89262d67eb12fb442e06">GetTopology</a>()</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>  {</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>  }</div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>  </div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00703"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#ga21ff044859563b6907f00c68dea113b6"> 703</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#ga21ff044859563b6907f00c68dea113b6">FreeTopology</a>(<a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__topology">game_input_topology</a>* topology)</div>
<div class="line"><a name="l00704"></a><span class="lineno"> 704</span>  {</div>
<div class="line"><a name="l00705"></a><span class="lineno"> 705</span>  }</div>
<div class="line"><a name="l00706"></a><span class="lineno"> 706</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  </div>
<div class="line"><a name="l00708"></a><span class="lineno"> 708</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#gab1a13626cde2924cc39976e4ddac3ba9"> 716</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#gab1a13626cde2924cc39976e4ddac3ba9">SetControllerLayouts</a>(<span class="keyword">const</span> std::vector<kodi::addon::GameControllerLayout>& controllers)</div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span>  {</div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span>  }</div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00720"></a><span class="lineno"> 720</span>  </div>
<div class="line"><a name="l00721"></a><span class="lineno"> 721</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00729"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#gaed90f70a89b1427926102ebc77aa8c0e"> 729</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#gaed90f70a89b1427926102ebc77aa8c0e">EnableKeyboard</a>(<span class="keywordtype">bool</span> enable, <span class="keyword">const</span> std::string& controller_id)</div>
<div class="line"><a name="l00730"></a><span class="lineno"> 730</span>  {</div>
<div class="line"><a name="l00731"></a><span class="lineno"> 731</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00732"></a><span class="lineno"> 732</span>  }</div>
<div class="line"><a name="l00733"></a><span class="lineno"> 733</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00734"></a><span class="lineno"> 734</span>  </div>
<div class="line"><a name="l00735"></a><span class="lineno"> 735</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00743"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#gab7fd5996d938c40317abcc9b2b038349"> 743</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#gab7fd5996d938c40317abcc9b2b038349">EnableMouse</a>(<span class="keywordtype">bool</span> enable, <span class="keyword">const</span> std::string& controller_id)</div>
<div class="line"><a name="l00744"></a><span class="lineno"> 744</span>  {</div>
<div class="line"><a name="l00745"></a><span class="lineno"> 745</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00746"></a><span class="lineno"> 746</span>  }</div>
<div class="line"><a name="l00747"></a><span class="lineno"> 747</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00748"></a><span class="lineno"> 748</span>  </div>
<div class="line"><a name="l00749"></a><span class="lineno"> 749</span>  <span class="comment">//==========================================================================</span></div>
<div class="line"><a name="l00792"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#ga675fa26051ad4233a00fdeb2da858c2e"> 792</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#ga675fa26051ad4233a00fdeb2da858c2e">ConnectController</a>(<span class="keywordtype">bool</span> connect,</div>
<div class="line"><a name="l00793"></a><span class="lineno"> 793</span>  <span class="keyword">const</span> std::string& port_address,</div>
<div class="line"><a name="l00794"></a><span class="lineno"> 794</span>  <span class="keyword">const</span> std::string& controller_id)</div>
<div class="line"><a name="l00795"></a><span class="lineno"> 795</span>  {</div>
<div class="line"><a name="l00796"></a><span class="lineno"> 796</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00797"></a><span class="lineno"> 797</span>  }</div>
<div class="line"><a name="l00798"></a><span class="lineno"> 798</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00799"></a><span class="lineno"> 799</span>  </div>
<div class="line"><a name="l00800"></a><span class="lineno"> 800</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00807"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#ga1774ae0976418c7389ef8a60c24b63b0"> 807</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#ga1774ae0976418c7389ef8a60c24b63b0">InputEvent</a>(<span class="keyword">const</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__event">game_input_event</a>& event)</div>
<div class="line"><a name="l00808"></a><span class="lineno"> 808</span>  {</div>
<div class="line"><a name="l00809"></a><span class="lineno"> 809</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00810"></a><span class="lineno"> 810</span>  }</div>
<div class="line"><a name="l00811"></a><span class="lineno"> 811</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00812"></a><span class="lineno"> 812</span>  </div>
<div class="line"><a name="l00813"></a><span class="lineno"> 813</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00824"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___input_operations.html#gaf10afcef9698c5e378276016b42dac63"> 824</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="group__cpp__kodi__addon__game___input_operations.html#gaf10afcef9698c5e378276016b42dac63">KodiInputEvent</a>(<span class="keyword">const</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__event">game_input_event</a>& event)</div>
<div class="line"><a name="l00825"></a><span class="lineno"> 825</span>  {</div>
<div class="line"><a name="l00826"></a><span class="lineno"> 826</span>  <span class="keywordflow">return</span> m_instanceData->toKodi->InputEvent(m_instanceData->toKodi->kodiInstance, &event);</div>
<div class="line"><a name="l00827"></a><span class="lineno"> 827</span>  }</div>
<div class="line"><a name="l00828"></a><span class="lineno"> 828</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00829"></a><span class="lineno"> 829</span>  </div>
<div class="line"><a name="l00831"></a><span class="lineno"> 831</span>  </div>
<div class="line"><a name="l00832"></a><span class="lineno"> 832</span> <span class="comment">//--==----==----==----==----==----==----==----==----==----==----==----==----==--</span></div>
<div class="line"><a name="l00833"></a><span class="lineno"> 833</span>  </div>
<div class="line"><a name="l00834"></a><span class="lineno"> 834</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00850"></a><span class="lineno"> 850</span> <span class="comment"></span> </div>
<div class="line"><a name="l00851"></a><span class="lineno"> 851</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00856"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___serialization_operations.html#gaf0254c7fbd753075e9c0bc12e3ecfb0b"> 856</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="group__cpp__kodi__addon__game___serialization_operations.html#gaf0254c7fbd753075e9c0bc12e3ecfb0b">SerializeSize</a>()</div>
<div class="line"><a name="l00857"></a><span class="lineno"> 857</span>  {</div>
<div class="line"><a name="l00858"></a><span class="lineno"> 858</span>  <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00859"></a><span class="lineno"> 859</span>  }</div>
<div class="line"><a name="l00860"></a><span class="lineno"> 860</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00861"></a><span class="lineno"> 861</span>  </div>
<div class="line"><a name="l00862"></a><span class="lineno"> 862</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00870"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___serialization_operations.html#gac1698fb22cc7e719995e4bc71418c2ae"> 870</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___serialization_operations.html#gac1698fb22cc7e719995e4bc71418c2ae">Serialize</a>(uint8_t* data, <span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l00871"></a><span class="lineno"> 871</span>  {</div>
<div class="line"><a name="l00872"></a><span class="lineno"> 872</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00873"></a><span class="lineno"> 873</span>  }</div>
<div class="line"><a name="l00874"></a><span class="lineno"> 874</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00875"></a><span class="lineno"> 875</span>  </div>
<div class="line"><a name="l00876"></a><span class="lineno"> 876</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00884"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___serialization_operations.html#ga7b93aa80da19bedc83c5711f86ed087a"> 884</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___serialization_operations.html#ga7b93aa80da19bedc83c5711f86ed087a">Deserialize</a>(<span class="keyword">const</span> uint8_t* data, <span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l00885"></a><span class="lineno"> 885</span>  {</div>
<div class="line"><a name="l00886"></a><span class="lineno"> 886</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00887"></a><span class="lineno"> 887</span>  }</div>
<div class="line"><a name="l00888"></a><span class="lineno"> 888</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00889"></a><span class="lineno"> 889</span>  </div>
<div class="line"><a name="l00891"></a><span class="lineno"> 891</span>  </div>
<div class="line"><a name="l00892"></a><span class="lineno"> 892</span> <span class="comment">//--==----==----==----==----==----==----==----==----==----==----==----==----==--</span></div>
<div class="line"><a name="l00893"></a><span class="lineno"> 893</span>  </div>
<div class="line"><a name="l00894"></a><span class="lineno"> 894</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00910"></a><span class="lineno"> 910</span> <span class="comment"></span> </div>
<div class="line"><a name="l00911"></a><span class="lineno"> 911</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00916"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___cheat_operations.html#gad9ed70e54b8d8fd85f2f3c6aafbd19b6"> 916</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___cheat_operations.html#gad9ed70e54b8d8fd85f2f3c6aafbd19b6">CheatReset</a>()</div>
<div class="line"><a name="l00917"></a><span class="lineno"> 917</span>  {</div>
<div class="line"><a name="l00918"></a><span class="lineno"> 918</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00919"></a><span class="lineno"> 919</span>  }</div>
<div class="line"><a name="l00920"></a><span class="lineno"> 920</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00921"></a><span class="lineno"> 921</span>  </div>
<div class="line"><a name="l00922"></a><span class="lineno"> 922</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00931"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___cheat_operations.html#gaded225dac331a0351f1fc1f3d5ed43eb"> 931</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___cheat_operations.html#gaded225dac331a0351f1fc1f3d5ed43eb">GetMemory</a>(<a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#gaf52d501cc2ba9de915c80313887b2a87">GAME_MEMORY</a> type, uint8_t*& data, <span class="keywordtype">size_t</span>& size)</div>
<div class="line"><a name="l00932"></a><span class="lineno"> 932</span>  {</div>
<div class="line"><a name="l00933"></a><span class="lineno"> 933</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00934"></a><span class="lineno"> 934</span>  }</div>
<div class="line"><a name="l00935"></a><span class="lineno"> 935</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00936"></a><span class="lineno"> 936</span>  </div>
<div class="line"><a name="l00937"></a><span class="lineno"> 937</span>  <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00946"></a><span class="lineno"><a class="line" href="group__cpp__kodi__addon__game___cheat_operations.html#gaf8f9d20efdc34b53355d778c48afffc2"> 946</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> <a class="code" href="group__cpp__kodi__addon__game___cheat_operations.html#gaf8f9d20efdc34b53355d778c48afffc2">SetCheat</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> enabled, <span class="keyword">const</span> std::string& code)</div>
<div class="line"><a name="l00947"></a><span class="lineno"> 947</span>  {</div>
<div class="line"><a name="l00948"></a><span class="lineno"> 948</span>  <span class="keywordflow">return</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a>;</div>
<div class="line"><a name="l00949"></a><span class="lineno"> 949</span>  }</div>
<div class="line"><a name="l00950"></a><span class="lineno"> 950</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00951"></a><span class="lineno"> 951</span>  </div>
<div class="line"><a name="l00953"></a><span class="lineno"> 953</span>  </div>
<div class="line"><a name="l00954"></a><span class="lineno"> 954</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00955"></a><span class="lineno"> 955</span>  <span class="keywordtype">void</span> SetAddonStruct(KODI_HANDLE instance)</div>
<div class="line"><a name="l00956"></a><span class="lineno"> 956</span>  {</div>
<div class="line"><a name="l00957"></a><span class="lineno"> 957</span>  <span class="keywordflow">if</span> (instance == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00958"></a><span class="lineno"> 958</span>  <span class="keywordflow">throw</span> std::logic_error(<span class="stringliteral">"kodi::addon::CInstanceGame: Creation with empty addon structure not"</span></div>
<div class="line"><a name="l00959"></a><span class="lineno"> 959</span>  <span class="stringliteral">"allowed, table must be given from Kodi!"</span>);</div>
<div class="line"><a name="l00960"></a><span class="lineno"> 960</span>  </div>
<div class="line"><a name="l00961"></a><span class="lineno"> 961</span>  m_instanceData = <span class="keyword">static_cast<</span><a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>*<span class="keyword">></span>(instance);</div>
<div class="line"><a name="l00962"></a><span class="lineno"> 962</span>  m_instanceData->toAddon->addonInstance = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00963"></a><span class="lineno"> 963</span>  </div>
<div class="line"><a name="l00964"></a><span class="lineno"> 964</span>  m_instanceData->toAddon->LoadGame = ADDON_LoadGame;</div>
<div class="line"><a name="l00965"></a><span class="lineno"> 965</span>  m_instanceData->toAddon->LoadGameSpecial = ADDON_LoadGameSpecial;</div>
<div class="line"><a name="l00966"></a><span class="lineno"> 966</span>  m_instanceData->toAddon->LoadStandalone = ADDON_LoadStandalone;</div>
<div class="line"><a name="l00967"></a><span class="lineno"> 967</span>  m_instanceData->toAddon->UnloadGame = ADDON_UnloadGame;</div>
<div class="line"><a name="l00968"></a><span class="lineno"> 968</span>  m_instanceData->toAddon->GetGameTiming = ADDON_GetGameTiming;</div>
<div class="line"><a name="l00969"></a><span class="lineno"> 969</span>  m_instanceData->toAddon->GetRegion = ADDON_GetRegion;</div>
<div class="line"><a name="l00970"></a><span class="lineno"> 970</span>  m_instanceData->toAddon->RequiresGameLoop = ADDON_RequiresGameLoop;</div>
<div class="line"><a name="l00971"></a><span class="lineno"> 971</span>  m_instanceData->toAddon->RunFrame = ADDON_RunFrame;</div>
<div class="line"><a name="l00972"></a><span class="lineno"> 972</span>  m_instanceData->toAddon->Reset = ADDON_Reset;</div>
<div class="line"><a name="l00973"></a><span class="lineno"> 973</span>  </div>
<div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  m_instanceData->toAddon->HwContextReset = ADDON_HwContextReset;</div>
<div class="line"><a name="l00975"></a><span class="lineno"> 975</span>  m_instanceData->toAddon->HwContextDestroy = ADDON_HwContextDestroy;</div>
<div class="line"><a name="l00976"></a><span class="lineno"> 976</span>  </div>
<div class="line"><a name="l00977"></a><span class="lineno"> 977</span>  m_instanceData->toAddon->HasFeature = ADDON_HasFeature;</div>
<div class="line"><a name="l00978"></a><span class="lineno"> 978</span>  m_instanceData->toAddon->GetTopology = ADDON_GetTopology;</div>
<div class="line"><a name="l00979"></a><span class="lineno"> 979</span>  m_instanceData->toAddon->FreeTopology = ADDON_FreeTopology;</div>
<div class="line"><a name="l00980"></a><span class="lineno"> 980</span>  m_instanceData->toAddon->SetControllerLayouts = ADDON_SetControllerLayouts;</div>
<div class="line"><a name="l00981"></a><span class="lineno"> 981</span>  m_instanceData->toAddon->EnableKeyboard = ADDON_EnableKeyboard;</div>
<div class="line"><a name="l00982"></a><span class="lineno"> 982</span>  m_instanceData->toAddon->EnableMouse = ADDON_EnableMouse;</div>
<div class="line"><a name="l00983"></a><span class="lineno"> 983</span>  m_instanceData->toAddon->ConnectController = ADDON_ConnectController;</div>
<div class="line"><a name="l00984"></a><span class="lineno"> 984</span>  m_instanceData->toAddon->InputEvent = ADDON_InputEvent;</div>
<div class="line"><a name="l00985"></a><span class="lineno"> 985</span>  </div>
<div class="line"><a name="l00986"></a><span class="lineno"> 986</span>  m_instanceData->toAddon->SerializeSize = ADDON_SerializeSize;</div>
<div class="line"><a name="l00987"></a><span class="lineno"> 987</span>  m_instanceData->toAddon->Serialize = ADDON_Serialize;</div>
<div class="line"><a name="l00988"></a><span class="lineno"> 988</span>  m_instanceData->toAddon->Deserialize = ADDON_Deserialize;</div>
<div class="line"><a name="l00989"></a><span class="lineno"> 989</span>  </div>
<div class="line"><a name="l00990"></a><span class="lineno"> 990</span>  m_instanceData->toAddon->CheatReset = ADDON_CheatReset;</div>
<div class="line"><a name="l00991"></a><span class="lineno"> 991</span>  m_instanceData->toAddon->GetMemory = ADDON_GetMemory;</div>
<div class="line"><a name="l00992"></a><span class="lineno"> 992</span>  m_instanceData->toAddon->SetCheat = ADDON_SetCheat;</div>
<div class="line"><a name="l00993"></a><span class="lineno"> 993</span>  }</div>
<div class="line"><a name="l00994"></a><span class="lineno"> 994</span>  </div>
<div class="line"><a name="l00995"></a><span class="lineno"> 995</span>  <span class="comment">// --- Game operations ---------------------------------------------------------</span></div>
<div class="line"><a name="l00996"></a><span class="lineno"> 996</span>  </div>
<div class="line"><a name="l00997"></a><span class="lineno"> 997</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_LoadGame(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance, <span class="keyword">const</span> <span class="keywordtype">char</span>* url)</div>
<div class="line"><a name="l00998"></a><span class="lineno"> 998</span>  {</div>
<div class="line"><a name="l00999"></a><span class="lineno"> 999</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->LoadGame(url);</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>  }</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>  </div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_LoadGameSpecial(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#gae227c65af490275c3e3c9b885457ac38">SPECIAL_GAME_TYPE</a> type,</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>** urls,</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>  <span class="keywordtype">size_t</span> urlCount)</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>  {</div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>  std::vector<std::string> urlList;</div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < urlCount; ++i)</div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>  {</div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>  <span class="keywordflow">if</span> (urls[i] != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>  urlList.push_back(urls[i]);</div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>  }</div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>  </div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>  ->LoadGameSpecial(type, urlList);</div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>  }</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>  </div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_LoadStandalone(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>  {</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->LoadStandalone();</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>  }</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>  </div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_UnloadGame(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>  {</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->UnloadGame();</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>  }</div>
<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>  </div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_GetGameTiming(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___environment_types.html#structgame__system__timing">game_system_timing</a>* timing_info)</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>  {</div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>  ->GetGameTiming(*timing_info);</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>  }</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>  </div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#gac33f5cc9e9651c9cb1693afb1b884e60">GAME_REGION</a> ADDON_GetRegion(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>  {</div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)-><a class="code" href="group__cpp__kodi.html#ga999b45568e7ff08f0f448305828cd9f0">GetRegion</a>();</div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>  }</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>  </div>
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ADDON_RequiresGameLoop(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>  {</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->RequiresGameLoop();</div>
<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>  }</div>
<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>  </div>
<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_RunFrame(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>  {</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->RunFrame();</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>  }</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>  </div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_Reset(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>  {</div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->Reset();</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>  }</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>  </div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>  </div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>  <span class="comment">// --- Hardware rendering operations -------------------------------------------</span></div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>  </div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_HwContextReset(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>  {</div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->HwContextReset();</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>  }</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>  </div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_HwContextDestroy(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>  {</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->HwContextDestroy();</div>
<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>  }</div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>  </div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>  </div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>  <span class="comment">// --- Input operations --------------------------------------------------------</span></div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>  </div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ADDON_HasFeature(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* controller_id,</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* feature_name)</div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>  {</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>  ->HasFeature(controller_id, feature_name);</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>  }</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>  </div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__topology">game_input_topology</a>* ADDON_GetTopology(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>  {</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->GetTopology();</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>  }</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>  </div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ADDON_FreeTopology(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__topology">game_input_topology</a>* topology)</div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>  {</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>  <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->FreeTopology(topology);</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>  }</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>  </div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ADDON_SetControllerLayouts(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>  <span class="keyword">const</span> game_controller_layout* controllers,</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> controller_count)</div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>  {</div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>  <span class="keywordflow">if</span> (controllers == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>  <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>  </div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>  std::vector<GameControllerLayout> controllerList;</div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < controller_count; ++i)</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>  controllerList.push_back(controllers[i]);</div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>  </div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>  <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>  ->SetControllerLayouts(controllerList);</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>  }</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>  </div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ADDON_EnableKeyboard(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>  <span class="keywordtype">bool</span> enable,</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* controller_id)</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>  {</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>  ->EnableKeyboard(enable, controller_id);</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>  }</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>  </div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ADDON_EnableMouse(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>  <span class="keywordtype">bool</span> enable,</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* controller_id)</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>  {</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>  ->EnableMouse(enable, controller_id);</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>  }</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>  </div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ADDON_ConnectController(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>  <span class="keywordtype">bool</span> connect,</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* port_address,</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* controller_id)</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>  {</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>  ->ConnectController(connect, port_address, controller_id);</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>  }</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>  </div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ADDON_InputEvent(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>  <span class="keyword">const</span> <a class="code" href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__event">game_input_event</a>* event)</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>  {</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->InputEvent(*event);</div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>  }</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>  </div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>  </div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>  <span class="comment">// --- Serialization operations ------------------------------------------------</span></div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>  </div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">size_t</span> ADDON_SerializeSize(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>  {</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->SerializeSize();</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>  }</div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>  </div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_Serialize(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>  uint8_t* data,</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>  <span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>  {</div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->Serialize(data, size);</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>  }</div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>  </div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_Deserialize(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>  <span class="keyword">const</span> uint8_t* data,</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>  <span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>  {</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->Deserialize(data, size);</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>  }</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>  </div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>  </div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>  <span class="comment">// --- Cheat operations --------------------------------------------------------</span></div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>  </div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_CheatReset(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance)</div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>  {</div>
<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)->CheatReset();</div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>  }</div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>  </div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_GetMemory(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>  <a class="code" href="group__cpp__kodi__addon__game___defs___game_types.html#gaf52d501cc2ba9de915c80313887b2a87">GAME_MEMORY</a> type,</div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>  uint8_t** data,</div>
<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>  <span class="keywordtype">size_t</span>* size)</div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>  {</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>  ->GetMemory(type, *data, *size);</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>  }</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>  </div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a> ADDON_SetCheat(<span class="keyword">const</span> <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* instance,</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index,</div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>  <span class="keywordtype">bool</span> enabled,</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* code)</div>
<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>  {</div>
<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>CInstanceGame*<span class="keyword">></span>(instance->toAddon->addonInstance)</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>  ->SetCheat(index, enabled, code);</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>  }</div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>  </div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>  <a class="code" href="struct_addon_instance___game.html">AddonInstance_Game</a>* m_instanceData;</div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> };</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>  </div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span> } <span class="comment">/* namespace addon */</span></div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span> } <span class="comment">/* namespace kodi */</span></div>
<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>  </div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclasskodi_1_1addon_1_1_c_instance_game_1_1_c_stream_html"><div class="ttname"><a href="classkodi_1_1addon_1_1_c_instance_game_1_1_c_stream.html">kodi::addon::CInstanceGame::CStream</a></div><div class="ttdef"><b>Definition:</b> Game.h:438</div></div>
<div class="ttc" id="aclasskodi_1_1addon_1_1_c_instance_game_html"><div class="ttname"><a href="classkodi_1_1addon_1_1_c_instance_game.html">kodi::addon::CInstanceGame</a></div><div class="ttdef"><b>Definition:</b> Game.h:117</div></div>
<div class="ttc" id="aclasskodi_1_1addon_1_1_i_addon_instance_html"><div class="ttname"><a href="classkodi_1_1addon_1_1_i_addon_instance.html">kodi::addon::IAddonInstance</a></div><div class="ttdef"><b>Definition:</b> AddonBase.h:186</div></div>
<div class="ttc" id="agroup__cpp__kodi___defs___addon_log_html_gga913895aaf2ef685961947f8d6b93e038a63f8ea3699765964c764b141bf41e9cc"><div class="ttname"><a href="group__cpp__kodi___defs___addon_log.html#gga913895aaf2ef685961947f8d6b93e038a63f8ea3699765964c764b141bf41e9cc">ADDON_LOG_INFO</a></div><div class="ttdeci">@ ADDON_LOG_INFO</div><div class="ttdoc">1 : To include information messages in the log file.</div><div class="ttdef"><b>Definition:</b> addon_base.h:177</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__addonbase___defs___a_d_d_o_n___t_y_p_e_html_ggada0b4c3c9f9c168e5e1c27145ec72357aecc91460b62782c25d0b5e0fd8251dee"><div class="ttname"><a href="group__cpp__kodi__addon__addonbase___defs___a_d_d_o_n___t_y_p_e.html#ggada0b4c3c9f9c168e5e1c27145ec72357aecc91460b62782c25d0b5e0fd8251dee">ADDON_INSTANCE_GAME</a></div><div class="ttdeci">@ ADDON_INSTANCE_GAME</div><div class="ttdoc">Game instance, see kodi::addon::CInstanceGame.</div><div class="ttdef"><b>Definition:</b> versions.h:223</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga1ce87a740156e6b074e3044f32f077a1"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga1ce87a740156e6b074e3044f32f077a1">kodi::addon::CInstanceGame::CInstanceGame</a></div><div class="ttdeci">CInstanceGame()</div><div class="ttdoc">Game class constructor.</div><div class="ttdef"><b>Definition:</b> Game.h:161</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga1f8da488d17cd096375c2b648275732d"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga1f8da488d17cd096375c2b648275732d">kodi::addon::CInstanceGame::GameClientDllPath</a></div><div class="ttdeci">std::string GameClientDllPath() const</div><div class="ttdoc">Callback to Kodi Function The path of the game client being loaded.</div><div class="ttdef"><b>Definition:</b> Game.h:186</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga7ed3d7c7f56095df2431233e38f8937b"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga7ed3d7c7f56095df2431233e38f8937b">kodi::addon::CInstanceGame::ProxyDllPaths</a></div><div class="ttdeci">bool ProxyDllPaths(std::vector< std::string > &paths)</div><div class="ttdoc">Callback to Kodi Function Paths to proxy DLLs used to load the game client.</div><div class="ttdef"><b>Definition:</b> Game.h:198</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga841dbbbf475e93cfeb2c3a38f318680b"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga841dbbbf475e93cfeb2c3a38f318680b">kodi::addon::CInstanceGame::ResourceDirectories</a></div><div class="ttdeci">bool ResourceDirectories(std::vector< std::string > &dirs)</div><div class="ttdoc">Callback to Kodi Function The "system" directories of the frontend.</div><div class="ttdef"><b>Definition:</b> Game.h:220</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga8f7eb8c92fcbb605c1d21c31df6bc77c"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga8f7eb8c92fcbb605c1d21c31df6bc77c">kodi::addon::CInstanceGame::ProfileDirectory</a></div><div class="ttdeci">std::string ProfileDirectory() const</div><div class="ttdoc">Callback to Kodi Function The writable directory of the frontend.</div><div class="ttdef"><b>Definition:</b> Game.h:243</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga9c94053e1fa1e3a06fb860f9e4d556f8"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga9c94053e1fa1e3a06fb860f9e4d556f8">kodi::addon::CInstanceGame::SupportsVFS</a></div><div class="ttdeci">bool SupportsVFS() const</div><div class="ttdoc">Callback to Kodi Function The value of the <supports_vfs> property from addon.xml.</div><div class="ttdef"><b>Definition:</b> Game.h:254</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_ga9f0f810a8f98e4413dc1941c05d8b39e"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#ga9f0f810a8f98e4413dc1941c05d8b39e">kodi::addon::CInstanceGame::~CInstanceGame</a></div><div class="ttdeci">~CInstanceGame() override=default</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___base_html_gac94d3caff821fb8e4441a758302f3f87"><div class="ttname"><a href="group__cpp__kodi__addon__game___base.html#gac94d3caff821fb8e4441a758302f3f87">kodi::addon::CInstanceGame::Extensions</a></div><div class="ttdeci">bool Extensions(std::vector< std::string > &extensions)</div><div class="ttdoc">Callback to Kodi Function The extensions in the <extensions> property from addon.xml.</div><div class="ttdef"><b>Definition:</b> Game.h:266</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___cheat_operations_html_gad9ed70e54b8d8fd85f2f3c6aafbd19b6"><div class="ttname"><a href="group__cpp__kodi__addon__game___cheat_operations.html#gad9ed70e54b8d8fd85f2f3c6aafbd19b6">kodi::addon::CInstanceGame::CheatReset</a></div><div class="ttdeci">virtual GAME_ERROR CheatReset()</div><div class="ttdoc">Reset the cheat system.</div><div class="ttdef"><b>Definition:</b> Game.h:916</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___cheat_operations_html_gaded225dac331a0351f1fc1f3d5ed43eb"><div class="ttname"><a href="group__cpp__kodi__addon__game___cheat_operations.html#gaded225dac331a0351f1fc1f3d5ed43eb">kodi::addon::CInstanceGame::GetMemory</a></div><div class="ttdeci">virtual GAME_ERROR GetMemory(GAME_MEMORY type, uint8_t *&data, size_t &size)</div><div class="ttdoc">Get a region of memory.</div><div class="ttdef"><b>Definition:</b> Game.h:931</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___cheat_operations_html_gaf8f9d20efdc34b53355d778c48afffc2"><div class="ttname"><a href="group__cpp__kodi__addon__game___cheat_operations.html#gaf8f9d20efdc34b53355d778c48afffc2">kodi::addon::CInstanceGame::SetCheat</a></div><div class="ttdeci">virtual GAME_ERROR SetCheat(unsigned int index, bool enabled, const std::string &code)</div><div class="ttdoc">Set a cheat code.</div><div class="ttdef"><b>Definition:</b> Game.h:946</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___environment_types_html_structgame__system__timing"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___environment_types.html#structgame__system__timing">game_system_timing</a></div><div class="ttdoc">Game system timing.</div><div class="ttdef"><b>Definition:</b> game.h:1050</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___game_types_html_gac33f5cc9e9651c9cb1693afb1b884e60"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___game_types.html#gac33f5cc9e9651c9cb1693afb1b884e60">GAME_REGION</a></div><div class="ttdeci">GAME_REGION</div><div class="ttdoc">Game reguin definition</div><div class="ttdef"><b>Definition:</b> game.h:563</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___game_types_html_gae227c65af490275c3e3c9b885457ac38"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___game_types.html#gae227c65af490275c3e3c9b885457ac38">SPECIAL_GAME_TYPE</a></div><div class="ttdeci">SPECIAL_GAME_TYPE</div><div class="ttdoc">Special game types passed into game_load_game_special().</div><div class="ttdef"><b>Definition:</b> game.h:581</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___game_types_html_gaf52d501cc2ba9de915c80313887b2a87"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___game_types.html#gaf52d501cc2ba9de915c80313887b2a87">GAME_MEMORY</a></div><div class="ttdeci">GAME_MEMORY</div><div class="ttdoc">Game Memory</div><div class="ttdef"><b>Definition:</b> game.h:600</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___game_types_html_ggac33f5cc9e9651c9cb1693afb1b884e60acdbaf601ad806397966ab91c3fe92906"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___game_types.html#ggac33f5cc9e9651c9cb1693afb1b884e60acdbaf601ad806397966ab91c3fe92906">GAME_REGION_UNKNOWN</a></div><div class="ttdeci">@ GAME_REGION_UNKNOWN</div><div class="ttdoc">Game region unknown.</div><div class="ttdef"><b>Definition:</b> game.h:565</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___hardware_framebuffer_html_ga7e99c45dc3001a78b3d5fcdb38515d53"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___hardware_framebuffer.html#ga7e99c45dc3001a78b3d5fcdb38515d53">game_proc_address_t</a></div><div class="ttdeci">void(* game_proc_address_t)(void)</div><div class="ttdoc">Hardware framebuffer process function address</div><div class="ttdef"><b>Definition:</b> game.h:406</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a04e82e2bb65f680df115308821b4940b"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a04e82e2bb65f680df115308821b4940b">kodi::addon::GameControllerLayout::analog_buttons</a></div><div class="ttdeci">std::vector< std::string > analog_buttons</div><div class="ttdoc">Analog buttons.</div><div class="ttdef"><b>Definition:</b> Game.h:84</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a1ea5f9074b1ba487c19630d52af5a620"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a1ea5f9074b1ba487c19630d52af5a620">kodi::addon::GameControllerLayout::accelerometers</a></div><div class="ttdeci">std::vector< std::string > accelerometers</div><div class="ttdoc">Accelerometers.</div><div class="ttdef"><b>Definition:</b> Game.h:90</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a45d221de8a4dc3dec6ed70a28d314c0d"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a45d221de8a4dc3dec6ed70a28d314c0d">kodi::addon::GameControllerLayout::provides_input</a></div><div class="ttdeci">bool provides_input</div><div class="ttdoc">Provides input.</div><div class="ttdef"><b>Definition:</b> Game.h:78</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a61f83258d666517b92e0b03a6bb3bda6"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a61f83258d666517b92e0b03a6bb3bda6">kodi::addon::GameControllerLayout::digital_buttons</a></div><div class="ttdeci">std::vector< std::string > digital_buttons</div><div class="ttdoc">Digital buttons.</div><div class="ttdef"><b>Definition:</b> Game.h:81</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a6333e3dc14e22c85f5925c6d40372fc7"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6333e3dc14e22c85f5925c6d40372fc7">kodi::addon::GameControllerLayout::abs_pointers</a></div><div class="ttdeci">std::vector< std::string > abs_pointers</div><div class="ttdoc">Absolute pointers.</div><div class="ttdef"><b>Definition:</b> Game.h:99</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a6afdb6b13fe3c9854af7169371bd10ec"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a6afdb6b13fe3c9854af7169371bd10ec">kodi::addon::GameControllerLayout::motors</a></div><div class="ttdeci">std::vector< std::string > motors</div><div class="ttdoc">Motors.</div><div class="ttdef"><b>Definition:</b> Game.h:102</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a8107240380e45e36f558a4f640b56dd4"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a8107240380e45e36f558a4f640b56dd4">kodi::addon::GameControllerLayout::controller_id</a></div><div class="ttdeci">std::string controller_id</div><div class="ttdoc">Controller identifier.</div><div class="ttdef"><b>Definition:</b> Game.h:73</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_a9891898814353b1cfe262de36d082f89"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#a9891898814353b1cfe262de36d082f89">kodi::addon::GameControllerLayout::rel_pointers</a></div><div class="ttdeci">std::vector< std::string > rel_pointers</div><div class="ttdoc">Relative pointers.</div><div class="ttdef"><b>Definition:</b> Game.h:96</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_aa97499ee2d1b88d53a6da452d4e5029a"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#aa97499ee2d1b88d53a6da452d4e5029a">kodi::addon::GameControllerLayout::keys</a></div><div class="ttdeci">std::vector< std::string > keys</div><div class="ttdoc">Keys.</div><div class="ttdef"><b>Definition:</b> Game.h:93</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_ab6597eba0e86cb9924c6e75d9c1a53af"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#ab6597eba0e86cb9924c6e75d9c1a53af">kodi::addon::GameControllerLayout::analog_sticks</a></div><div class="ttdeci">std::vector< std::string > analog_sticks</div><div class="ttdoc">Analog sticks.</div><div class="ttdef"><b>Definition:</b> Game.h:87</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types___game_controller_layout_html_classkodi_1_1addon_1_1_game_controller_layout"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types___game_controller_layout.html#classkodi_1_1addon_1_1_game_controller_layout">kodi::addon::GameControllerLayout</a></div><div class="ttdef"><b>Definition:</b> Game.h:45</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types_html_structgame__input__event"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__event">game_input_event</a></div><div class="ttdef"><b>Definition:</b> game.h:990</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___input_types_html_structgame__input__topology"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___input_types.html#structgame__input__topology">game_input_topology</a></div><div class="ttdoc">The input topology is the possible ways to connect input devices.</div><div class="ttdef"><b>Definition:</b> game.h:866</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___stream_types_html_structgame__stream__buffer"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__buffer">game_stream_buffer</a></div><div class="ttdoc">Stream buffers for hardware rendering and zero-copy support</div><div class="ttdef"><b>Definition:</b> game.h:507</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___stream_types_html_structgame__stream__packet"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__packet">game_stream_packet</a></div><div class="ttdoc">Stream packet and ephemeral metadata</div><div class="ttdef"><b>Definition:</b> game.h:529</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs___stream_types_html_structgame__stream__properties"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs___stream_types.html#structgame__stream__properties">game_stream_properties</a></div><div class="ttdoc">Immutable stream metadata</div><div class="ttdef"><b>Definition:</b> game.h:483</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs_html_gad0fb9f502cf7b3a84f8edb0dc6cbd6ef"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs.html#gad0fb9f502cf7b3a84f8edb0dc6cbd6ef">GAME_ERROR</a></div><div class="ttdeci">GAME_ERROR</div><div class="ttdoc">Game add-on error codes</div><div class="ttdef"><b>Definition:</b> game.h:34</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___defs_html_ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014"><div class="ttname"><a href="group__cpp__kodi__addon__game___defs.html#ggad0fb9f502cf7b3a84f8edb0dc6cbd6efaf397002d4590537629461eff8b98d014">GAME_ERROR_NOT_IMPLEMENTED</a></div><div class="ttdeci">@ GAME_ERROR_NOT_IMPLEMENTED</div><div class="ttdoc">the method that the frontend called is not implemented</div><div class="ttdef"><b>Definition:</b> game.h:42</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___hardware_rendering_html_ga2ae79c17e174f773ae0a228faa475400"><div class="ttname"><a href="group__cpp__kodi__addon__game___hardware_rendering.html#ga2ae79c17e174f773ae0a228faa475400">kodi::addon::CInstanceGame::HwContextDestroy</a></div><div class="ttdeci">virtual GAME_ERROR HwContextDestroy()</div><div class="ttdoc">Called before the context is destroyed.</div><div class="ttdef"><b>Definition:</b> Game.h:622</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___hardware_rendering_html_ga4e62b5e5f8c681379c267c21d8e68969"><div class="ttname"><a href="group__cpp__kodi__addon__game___hardware_rendering.html#ga4e62b5e5f8c681379c267c21d8e68969">kodi::addon::CInstanceGame::HwContextReset</a></div><div class="ttdeci">virtual GAME_ERROR HwContextReset()</div><div class="ttdoc">Invalidates the current HW context and reinitializes GPU resources.</div><div class="ttdef"><b>Definition:</b> Game.h:609</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___hardware_rendering_html_gae56ab5b89b821a5e84dc163fe424c8f7"><div class="ttname"><a href="group__cpp__kodi__addon__game___hardware_rendering.html#gae56ab5b89b821a5e84dc163fe424c8f7">kodi::addon::CInstanceGame::HwGetProcAddress</a></div><div class="ttdeci">game_proc_address_t HwGetProcAddress(const char *sym)</div><div class="ttdoc">Callback to Kodi Function Get a symbol from the hardware context</div><div class="ttdef"><b>Definition:</b> Game.h:636</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_ga0caf17539e0b322620d9a2762f20e63d"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#ga0caf17539e0b322620d9a2762f20e63d">kodi::addon::CInstanceGame::HasFeature</a></div><div class="ttdeci">virtual bool HasFeature(const std::string &controller_id, const std::string &feature_name)</div><div class="ttdoc">Check if input is accepted for a feature on the controller.</div><div class="ttdef"><b>Definition:</b> Game.h:675</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_ga1774ae0976418c7389ef8a60c24b63b0"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#ga1774ae0976418c7389ef8a60c24b63b0">kodi::addon::CInstanceGame::InputEvent</a></div><div class="ttdeci">virtual bool InputEvent(const game_input_event &event)</div><div class="ttdoc">Notify the add-on of an input event.</div><div class="ttdef"><b>Definition:</b> Game.h:807</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_ga21ff044859563b6907f00c68dea113b6"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#ga21ff044859563b6907f00c68dea113b6">kodi::addon::CInstanceGame::FreeTopology</a></div><div class="ttdeci">virtual void FreeTopology(game_input_topology *topology)</div><div class="ttdoc">Free the topology's resources.</div><div class="ttdef"><b>Definition:</b> Game.h:703</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_ga516f68885c3c89262d67eb12fb442e06"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#ga516f68885c3c89262d67eb12fb442e06">kodi::addon::CInstanceGame::GetTopology</a></div><div class="ttdeci">virtual game_input_topology * GetTopology()</div><div class="ttdoc">Get the input topology that specifies which controllers can be connected.</div><div class="ttdef"><b>Definition:</b> Game.h:692</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_ga675fa26051ad4233a00fdeb2da858c2e"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#ga675fa26051ad4233a00fdeb2da858c2e">kodi::addon::CInstanceGame::ConnectController</a></div><div class="ttdeci">virtual bool ConnectController(bool connect, const std::string &port_address, const std::string &controller_id)</div><div class="ttdoc">Connect/disconnect a controller to a port on the virtual game console.</div><div class="ttdef"><b>Definition:</b> Game.h:792</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_gab1a13626cde2924cc39976e4ddac3ba9"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#gab1a13626cde2924cc39976e4ddac3ba9">kodi::addon::CInstanceGame::SetControllerLayouts</a></div><div class="ttdeci">virtual void SetControllerLayouts(const std::vector< kodi::addon::GameControllerLayout > &controllers)</div><div class="ttdoc">Set the layouts for known controllers.</div><div class="ttdef"><b>Definition:</b> Game.h:716</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_gab7fd5996d938c40317abcc9b2b038349"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#gab7fd5996d938c40317abcc9b2b038349">kodi::addon::CInstanceGame::EnableMouse</a></div><div class="ttdeci">virtual bool EnableMouse(bool enable, const std::string &controller_id)</div><div class="ttdoc">Enable/disable mouse input using the specified controller.</div><div class="ttdef"><b>Definition:</b> Game.h:743</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_gaed90f70a89b1427926102ebc77aa8c0e"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#gaed90f70a89b1427926102ebc77aa8c0e">kodi::addon::CInstanceGame::EnableKeyboard</a></div><div class="ttdeci">virtual bool EnableKeyboard(bool enable, const std::string &controller_id)</div><div class="ttdoc">Enable/disable keyboard input using the specified controller.</div><div class="ttdef"><b>Definition:</b> Game.h:729</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___input_operations_html_gaf10afcef9698c5e378276016b42dac63"><div class="ttname"><a href="group__cpp__kodi__addon__game___input_operations.html#gaf10afcef9698c5e378276016b42dac63">kodi::addon::CInstanceGame::KodiInputEvent</a></div><div class="ttdeci">bool KodiInputEvent(const game_input_event &event)</div><div class="ttdoc">Callback to Kodi Function Notify the port of an input event</div><div class="ttdef"><b>Definition:</b> Game.h:824</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation___c_stream_html_ga1d904961859394313fe20f7f4d6fc784"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation___c_stream.html#ga1d904961859394313fe20f7f4d6fc784">kodi::addon::CInstanceGame::CStream::IsOpen</a></div><div class="ttdeci">bool IsOpen() const</div><div class="ttdoc">To check stream open was OK, e.g. after use of constructor.</div><div class="ttdef"><b>Definition:</b> Game.h:572</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation___c_stream_html_ga214c1c73a55e8bebb3e3a2331d592e02"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation___c_stream.html#ga214c1c73a55e8bebb3e3a2331d592e02">kodi::addon::CInstanceGame::CStream::ReleaseBuffer</a></div><div class="ttdeci">void ReleaseBuffer(game_stream_buffer &buffer)</div><div class="ttdoc">Free an allocated buffer.</div><div class="ttdef"><b>Definition:</b> Game.h:552</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation___c_stream_html_ga7f7a3199c392465d0767c6506c1af5b4"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation___c_stream.html#ga7f7a3199c392465d0767c6506c1af5b4">kodi::addon::CInstanceGame::CStream::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">Free the specified stream.</div><div class="ttdef"><b>Definition:</b> Game.h:486</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation___c_stream_html_gaa046b3cd4dbd88eca02cde486fb78a93"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation___c_stream.html#gaa046b3cd4dbd88eca02cde486fb78a93">kodi::addon::CInstanceGame::CStream::GetBuffer</a></div><div class="ttdeci">bool GetBuffer(unsigned int width, unsigned int height, game_stream_buffer &buffer)</div><div class="ttdoc">Get a buffer for zero-copy stream data.</div><div class="ttdef"><b>Definition:</b> Game.h:512</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation___c_stream_html_gae3a7712ac72e5d0aa16035d3a712735a"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation___c_stream.html#gae3a7712ac72e5d0aa16035d3a712735a">kodi::addon::CInstanceGame::CStream::AddData</a></div><div class="ttdeci">void AddData(const game_stream_packet &packet)</div><div class="ttdoc">Add a data packet to a stream.</div><div class="ttdef"><b>Definition:</b> Game.h:532</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation___c_stream_html_gaec661cb2304d3b85b8bcc0fa63d06481"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation___c_stream.html#gaec661cb2304d3b85b8bcc0fa63d06481">kodi::addon::CInstanceGame::CStream::Open</a></div><div class="ttdeci">bool Open(const game_stream_properties &properties)</div><div class="ttdoc">Create a stream for gameplay data.</div><div class="ttdef"><b>Definition:</b> Game.h:461</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga024f7ff502652263acdc28d5086e0ca6"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga024f7ff502652263acdc28d5086e0ca6">kodi::addon::CInstanceGame::LoadGameSpecial</a></div><div class="ttdeci">virtual GAME_ERROR LoadGameSpecial(SPECIAL_GAME_TYPE type, const std::vector< std::string > &urls)</div><div class="ttdoc">Load a game that requires multiple files.</div><div class="ttdef"><b>Definition:</b> Game.h:321</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga03d0df14967c92b5ae74ab7e322f74ba"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga03d0df14967c92b5ae74ab7e322f74ba">kodi::addon::CInstanceGame::UnloadGame</a></div><div class="ttdeci">virtual GAME_ERROR UnloadGame()</div><div class="ttdoc">Unload the current game.</div><div class="ttdef"><b>Definition:</b> Game.h:350</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga254a2c23c58b85b64f25fb6e44389555"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga254a2c23c58b85b64f25fb6e44389555">kodi::addon::CInstanceGame::GetGameTiming</a></div><div class="ttdeci">virtual GAME_ERROR GetGameTiming(game_system_timing &timing_info)</div><div class="ttdoc">Get timing information about the loaded game.</div><div class="ttdef"><b>Definition:</b> Game.h:363</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga3749c6dd93b1a869e80961f8a4377272"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga3749c6dd93b1a869e80961f8a4377272">kodi::addon::CInstanceGame::RunFrame</a></div><div class="ttdeci">virtual GAME_ERROR RunFrame()</div><div class="ttdoc">Run a single frame for add-ons that use a game loop.</div><div class="ttdef"><b>Definition:</b> Game.h:399</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga4c29e16c942758334004e577cdc3cb03"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga4c29e16c942758334004e577cdc3cb03">kodi::addon::CInstanceGame::RequiresGameLoop</a></div><div class="ttdeci">virtual bool RequiresGameLoop()</div><div class="ttdoc">Return true if the client requires the frontend to provide a game loop.</div><div class="ttdef"><b>Definition:</b> Game.h:388</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga8452850b86c09572d0e6a08a2d0b4eeb"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga8452850b86c09572d0e6a08a2d0b4eeb">kodi::addon::CInstanceGame::Reset</a></div><div class="ttdeci">virtual GAME_ERROR Reset()</div><div class="ttdoc">Reset the current game.</div><div class="ttdef"><b>Definition:</b> Game.h:410</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_ga88b7876256d63c652dd8743c255380f9"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#ga88b7876256d63c652dd8743c255380f9">kodi::addon::CInstanceGame::LoadStandalone</a></div><div class="ttdeci">virtual GAME_ERROR LoadStandalone()</div><div class="ttdoc">Begin playing without a game file.</div><div class="ttdef"><b>Definition:</b> Game.h:337</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_gaae0ae25b20382135f1625dc0f41ecd03"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#gaae0ae25b20382135f1625dc0f41ecd03">kodi::addon::CInstanceGame::CloseGame</a></div><div class="ttdeci">void CloseGame(void)</div><div class="ttdoc">Callback to Kodi Function Requests the frontend to stop the current game</div><div class="ttdef"><b>Definition:</b> Game.h:422</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_gae57f40435a8996393b3b151586ca8d19"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#gae57f40435a8996393b3b151586ca8d19">kodi::addon::CInstanceGame::LoadGame</a></div><div class="ttdeci">virtual GAME_ERROR LoadGame(const std::string &url)</div><div class="ttdoc">Load a game.</div><div class="ttdef"><b>Definition:</b> Game.h:308</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___operation_html_gafcb76519f7333ac37e190ad109cecd60"><div class="ttname"><a href="group__cpp__kodi__addon__game___operation.html#gafcb76519f7333ac37e190ad109cecd60">kodi::addon::CInstanceGame::GetRegion</a></div><div class="ttdeci">virtual GAME_REGION GetRegion()</div><div class="ttdoc">Get region of the loaded game.</div><div class="ttdef"><b>Definition:</b> Game.h:374</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___serialization_operations_html_ga7b93aa80da19bedc83c5711f86ed087a"><div class="ttname"><a href="group__cpp__kodi__addon__game___serialization_operations.html#ga7b93aa80da19bedc83c5711f86ed087a">kodi::addon::CInstanceGame::Deserialize</a></div><div class="ttdeci">virtual GAME_ERROR Deserialize(const uint8_t *data, size_t size)</div><div class="ttdoc">Deserialize the game from the given state.</div><div class="ttdef"><b>Definition:</b> Game.h:884</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___serialization_operations_html_gac1698fb22cc7e719995e4bc71418c2ae"><div class="ttname"><a href="group__cpp__kodi__addon__game___serialization_operations.html#gac1698fb22cc7e719995e4bc71418c2ae">kodi::addon::CInstanceGame::Serialize</a></div><div class="ttdeci">virtual GAME_ERROR Serialize(uint8_t *data, size_t size)</div><div class="ttdoc">Serialize the state of the game.</div><div class="ttdef"><b>Definition:</b> Game.h:870</div></div>
<div class="ttc" id="agroup__cpp__kodi__addon__game___serialization_operations_html_gaf0254c7fbd753075e9c0bc12e3ecfb0b"><div class="ttname"><a href="group__cpp__kodi__addon__game___serialization_operations.html#gaf0254c7fbd753075e9c0bc12e3ecfb0b">kodi::addon::CInstanceGame::SerializeSize</a></div><div class="ttdeci">virtual size_t SerializeSize()</div><div class="ttdoc">Get the number of bytes required to serialize the game.</div><div class="ttdef"><b>Definition:</b> Game.h:856</div></div>
<div class="ttc" id="agroup__cpp__kodi_html_ga3f6e41fe0bc423ec7d065fbdf3f47e98"><div class="ttname"><a href="group__cpp__kodi.html#ga3f6e41fe0bc423ec7d065fbdf3f47e98">kodi::GetKodiTypeVersion</a></div><div class="ttdeci">std::string ATTRIBUTE_HIDDEN GetKodiTypeVersion(int type)</div><div class="ttdoc">To get used version inside Kodi itself about asked type.</div><div class="ttdef"><b>Definition:</b> AddonBase.h:630</div></div>
<div class="ttc" id="agroup__cpp__kodi_html_ga999b45568e7ff08f0f448305828cd9f0"><div class="ttname"><a href="group__cpp__kodi.html#ga999b45568e7ff08f0f448305828cd9f0">kodi::GetRegion</a></div><div class="ttdeci">std::string ATTRIBUTE_HIDDEN GetRegion(const std::string &id)</div><div class="ttdoc">Returns your regions setting as a string for the specified id.</div><div class="ttdef"><b>Definition:</b> General.h:478</div></div>
<div class="ttc" id="agroup__cpp__kodi_html_gaaa1f205f9375cd086229a1455ede11cc"><div class="ttname"><a href="group__cpp__kodi.html#gaaa1f205f9375cd086229a1455ede11cc">kodi::Log</a></div><div class="ttdeci">void ATTRIBUTE_HIDDEN Log(const AddonLog loglevel, const char *format,...)</div><div class="ttdoc">Add a message to Kodi's log.</div><div class="ttdef"><b>Definition:</b> AddonBase.h:749</div></div>
<div class="ttc" id="astruct_addon_instance___game_html"><div class="ttname"><a href="struct_addon_instance___game.html">AddonInstance_Game</a></div><div class="ttdoc">Game instance.</div><div class="ttdef"><b>Definition:</b> game.h:1200</div></div>
<div class="ttc" id="astruct_addon_to_kodi_func_table___game_html"><div class="ttname"><a href="struct_addon_to_kodi_func_table___game.html">AddonToKodiFuncTable_Game</a></div><div class="ttdoc">Game callbacks.</div><div class="ttdef"><b>Definition:</b> game.h:1132</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_818aca8f237de2dab4b332e67c44f0ac.html">include</a></li><li class="navelem"><a class="el" href="dir_e2893ada97b5f5ed70c6c1eae148df10.html">kodi</a></li><li class="navelem"><a class="el" href="dir_726c3e97bb7ce1b0cced8dcef60872f1.html">addon-instance</a></li><li class="navelem"><b>Game.h</b></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>