krpc-node 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.md +2 -0
  2. package/lib/client.js +7 -7
  3. package/lib/decoders.js +2 -2
  4. package/lib/krpc.proto +1 -2
  5. package/package.json +11 -12
  6. package/.idea/dictionaries/potz6.xml +0 -7
  7. package/.idea/dictionaries/ryan.xml +0 -8
  8. package/.idea/inspectionProfiles/Project_Default.xml +0 -7
  9. package/.idea/inspectionProfiles/profiles_settings.xml +0 -7
  10. package/.idea/jsLibraryMappings.xml +0 -9
  11. package/.idea/krpc-node.iml +0 -21
  12. package/.idea/markdown-navigator/profiles_settings.xml +0 -3
  13. package/.idea/markdown-navigator.xml +0 -72
  14. package/.idea/misc.xml +0 -10
  15. package/.idea/modules.xml +0 -8
  16. package/.idea/vcs.xml +0 -6
  17. package/.idea/watcherTasks.xml +0 -4
  18. package/.idea/workspace.xml +0 -3197
  19. package/notes.txt +0 -19
  20. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/COPYING +0 -674
  21. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/COPYING.LESSER +0 -165
  22. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.Drawing.txt +0 -2
  23. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.InfernalRobotics.txt +0 -13
  24. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.KerbalAlarmClock.txt +0 -11
  25. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.RemoteTech.txt +0 -9
  26. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.SpaceCenter.txt +0 -274
  27. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.UI.txt +0 -7
  28. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/CHANGES.txt +0 -124
  29. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/Google.Protobuf.dll +0 -0
  30. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.Drawing.dll +0 -0
  31. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.Drawing.json +0 -1483
  32. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.Drawing.xml +0 -284
  33. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.InfernalRobotics.dll +0 -0
  34. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.InfernalRobotics.json +0 -938
  35. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.InfernalRobotics.xml +0 -289
  36. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.KerbalAlarmClock.dll +0 -0
  37. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.KerbalAlarmClock.json +0 -669
  38. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.KerbalAlarmClock.xml +0 -489
  39. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.RemoteTech.dll +0 -0
  40. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.RemoteTech.json +0 -456
  41. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.RemoteTech.xml +0 -184
  42. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.SpaceCenter.dll +0 -0
  43. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.SpaceCenter.json +0 -17732
  44. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.SpaceCenter.xml +0 -7039
  45. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.dll +0 -0
  46. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.json +0 -1776
  47. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.ksp +0 -0
  48. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.UI.xml +0 -506
  49. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.dll +0 -0
  50. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.json +0 -139
  51. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/KRPC.xml +0 -3331
  52. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/PluginData/settings.cfg +0 -1
  53. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/VERSION.txt +0 -1
  54. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/applauncher-offline.png +0 -0
  55. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/applauncher-online.png +0 -0
  56. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-close-window.png +0 -0
  57. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-collapse.png +0 -0
  58. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-disconnect-client.png +0 -0
  59. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/button-expand.png +0 -0
  60. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/toolbar-offline.png +0 -0
  61. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/icons/toolbar-online.png +0 -0
  62. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/GameData/kRPC/kRPC.version +0 -7
  63. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/LICENSE +0 -25
  64. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/LICENSE.Google.Protobuf +0 -32
  65. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/LICENSE.KRPC.SpaceCenter +0 -14
  66. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/README.txt +0 -7
  67. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/VERSION.txt +0 -1
  68. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-cpp-0.4.0-10-g379f6b2.zip +0 -0
  69. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-csharp-0.4.0-10-g379f6b2.zip +0 -0
  70. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-java-0.4.0-10-g379f6b2.jar +0 -0
  71. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-lua-0.4.0-10-g379f6b2.zip +0 -0
  72. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/client/krpc-python-0.4.0-10-g379f6b2.zip +0 -0
  73. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/kRPC.pdf +0 -0
  74. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC.cs +0 -4596
  75. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC.java +0 -22464
  76. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC.lua +0 -1241
  77. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/KRPC_pb2.py +0 -1583
  78. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/LICENSE +0 -21
  79. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/krpc.pb.cpp +0 -11754
  80. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/krpc.pb.hpp +0 -6159
  81. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2/schema/krpc.proto +0 -215
  82. package/resources/ksp 1.3/krpc-0.4.0-10-g379f6b2.zip +0 -0
  83. package/yarn.lock +0 -4696
@@ -1,669 +0,0 @@
1
- {
2
- "KerbalAlarmClock": {
3
- "documentation": "<doc>\n<summary>\nThis service provides functionality to interact with\n<a href=\"http://forum.kerbalspaceprogram.com/index.php?/topic/22809-12x-kerbal-alarm-clock-v3800-october-12/\">Kerbal Alarm Clock</a>.\n</summary>\n</doc>",
4
- "procedures": {
5
- "AlarmWithName": {
6
- "parameters": [
7
- {
8
- "name": "name",
9
- "type": {
10
- "code": "STRING"
11
- }
12
- }
13
- ],
14
- "return_type": {
15
- "code": "CLASS",
16
- "service": "KerbalAlarmClock",
17
- "name": "Alarm",
18
- "nullable": true
19
- },
20
- "documentation": "<doc>\n<summary>\nGet the alarm with the given <paramref name=\"name\" />, or <c>null</c>\nif no alarms have that name. If more than one alarm has the name,\nonly returns one of them.\n</summary>\n<param name=\"name\">Name of the alarm to search for.</param>\n</doc>"
21
- },
22
- "AlarmsWithType": {
23
- "parameters": [
24
- {
25
- "name": "type",
26
- "type": {
27
- "code": "ENUMERATION",
28
- "service": "KerbalAlarmClock",
29
- "name": "AlarmType"
30
- }
31
- }
32
- ],
33
- "return_type": {
34
- "code": "LIST",
35
- "types": [
36
- {
37
- "code": "CLASS",
38
- "service": "KerbalAlarmClock",
39
- "name": "Alarm"
40
- }
41
- ]
42
- },
43
- "documentation": "<doc>\n<summary>\nGet a list of alarms of the specified <paramref name=\"type\" />.\n</summary>\n<param name=\"type\">Type of alarm to return.</param>\n</doc>"
44
- },
45
- "CreateAlarm": {
46
- "parameters": [
47
- {
48
- "name": "type",
49
- "type": {
50
- "code": "ENUMERATION",
51
- "service": "KerbalAlarmClock",
52
- "name": "AlarmType"
53
- }
54
- },
55
- {
56
- "name": "name",
57
- "type": {
58
- "code": "STRING"
59
- }
60
- },
61
- {
62
- "name": "ut",
63
- "type": {
64
- "code": "DOUBLE"
65
- }
66
- }
67
- ],
68
- "return_type": {
69
- "code": "CLASS",
70
- "service": "KerbalAlarmClock",
71
- "name": "Alarm",
72
- "nullable": false
73
- },
74
- "documentation": "<doc>\n<summary>\nCreate a new alarm and return it.\n</summary>\n<param name=\"type\">Type of the new alarm.</param>\n<param name=\"name\">Name of the new alarm.</param>\n<param name=\"ut\">Time at which the new alarm should trigger.</param>\n</doc>"
75
- },
76
- "get_Available": {
77
- "parameters": [],
78
- "return_type": {
79
- "code": "BOOL"
80
- },
81
- "documentation": "<doc>\n<summary>\nWhether Kerbal Alarm Clock is available.\n</summary>\n</doc>"
82
- },
83
- "get_Alarms": {
84
- "parameters": [],
85
- "return_type": {
86
- "code": "LIST",
87
- "types": [
88
- {
89
- "code": "CLASS",
90
- "service": "KerbalAlarmClock",
91
- "name": "Alarm"
92
- }
93
- ]
94
- },
95
- "documentation": "<doc>\n<summary>\nA list of all the alarms.\n</summary>\n</doc>"
96
- },
97
- "Alarm_Remove": {
98
- "parameters": [
99
- {
100
- "name": "this",
101
- "type": {
102
- "code": "CLASS",
103
- "service": "KerbalAlarmClock",
104
- "name": "Alarm"
105
- }
106
- }
107
- ],
108
- "documentation": "<doc>\n<summary>\nRemoves the alarm.\n</summary>\n</doc>"
109
- },
110
- "Alarm_get_Action": {
111
- "parameters": [
112
- {
113
- "name": "this",
114
- "type": {
115
- "code": "CLASS",
116
- "service": "KerbalAlarmClock",
117
- "name": "Alarm"
118
- }
119
- }
120
- ],
121
- "return_type": {
122
- "code": "ENUMERATION",
123
- "service": "KerbalAlarmClock",
124
- "name": "AlarmAction"
125
- },
126
- "documentation": "<doc>\n<summary>\nThe action that the alarm triggers.\n</summary>\n</doc>"
127
- },
128
- "Alarm_set_Action": {
129
- "parameters": [
130
- {
131
- "name": "this",
132
- "type": {
133
- "code": "CLASS",
134
- "service": "KerbalAlarmClock",
135
- "name": "Alarm"
136
- }
137
- },
138
- {
139
- "name": "value",
140
- "type": {
141
- "code": "ENUMERATION",
142
- "service": "KerbalAlarmClock",
143
- "name": "AlarmAction"
144
- }
145
- }
146
- ],
147
- "documentation": "<doc>\n<summary>\nThe action that the alarm triggers.\n</summary>\n</doc>"
148
- },
149
- "Alarm_get_Margin": {
150
- "parameters": [
151
- {
152
- "name": "this",
153
- "type": {
154
- "code": "CLASS",
155
- "service": "KerbalAlarmClock",
156
- "name": "Alarm"
157
- }
158
- }
159
- ],
160
- "return_type": {
161
- "code": "DOUBLE"
162
- },
163
- "documentation": "<doc>\n<summary>\nThe number of seconds before the event that the alarm will fire.\n</summary>\n</doc>"
164
- },
165
- "Alarm_set_Margin": {
166
- "parameters": [
167
- {
168
- "name": "this",
169
- "type": {
170
- "code": "CLASS",
171
- "service": "KerbalAlarmClock",
172
- "name": "Alarm"
173
- }
174
- },
175
- {
176
- "name": "value",
177
- "type": {
178
- "code": "DOUBLE"
179
- }
180
- }
181
- ],
182
- "documentation": "<doc>\n<summary>\nThe number of seconds before the event that the alarm will fire.\n</summary>\n</doc>"
183
- },
184
- "Alarm_get_Time": {
185
- "parameters": [
186
- {
187
- "name": "this",
188
- "type": {
189
- "code": "CLASS",
190
- "service": "KerbalAlarmClock",
191
- "name": "Alarm"
192
- }
193
- }
194
- ],
195
- "return_type": {
196
- "code": "DOUBLE"
197
- },
198
- "documentation": "<doc>\n<summary>\nThe time at which the alarm will fire.\n</summary>\n</doc>"
199
- },
200
- "Alarm_set_Time": {
201
- "parameters": [
202
- {
203
- "name": "this",
204
- "type": {
205
- "code": "CLASS",
206
- "service": "KerbalAlarmClock",
207
- "name": "Alarm"
208
- }
209
- },
210
- {
211
- "name": "value",
212
- "type": {
213
- "code": "DOUBLE"
214
- }
215
- }
216
- ],
217
- "documentation": "<doc>\n<summary>\nThe time at which the alarm will fire.\n</summary>\n</doc>"
218
- },
219
- "Alarm_get_Type": {
220
- "parameters": [
221
- {
222
- "name": "this",
223
- "type": {
224
- "code": "CLASS",
225
- "service": "KerbalAlarmClock",
226
- "name": "Alarm"
227
- }
228
- }
229
- ],
230
- "return_type": {
231
- "code": "ENUMERATION",
232
- "service": "KerbalAlarmClock",
233
- "name": "AlarmType"
234
- },
235
- "documentation": "<doc>\n<summary>\nThe type of the alarm.\n</summary>\n</doc>"
236
- },
237
- "Alarm_get_ID": {
238
- "parameters": [
239
- {
240
- "name": "this",
241
- "type": {
242
- "code": "CLASS",
243
- "service": "KerbalAlarmClock",
244
- "name": "Alarm"
245
- }
246
- }
247
- ],
248
- "return_type": {
249
- "code": "STRING"
250
- },
251
- "documentation": "<doc>\n<summary>\nThe unique identifier for the alarm.\n</summary>\n</doc>"
252
- },
253
- "Alarm_get_Name": {
254
- "parameters": [
255
- {
256
- "name": "this",
257
- "type": {
258
- "code": "CLASS",
259
- "service": "KerbalAlarmClock",
260
- "name": "Alarm"
261
- }
262
- }
263
- ],
264
- "return_type": {
265
- "code": "STRING"
266
- },
267
- "documentation": "<doc>\n<summary>\nThe short name of the alarm.\n</summary>\n</doc>"
268
- },
269
- "Alarm_set_Name": {
270
- "parameters": [
271
- {
272
- "name": "this",
273
- "type": {
274
- "code": "CLASS",
275
- "service": "KerbalAlarmClock",
276
- "name": "Alarm"
277
- }
278
- },
279
- {
280
- "name": "value",
281
- "type": {
282
- "code": "STRING"
283
- }
284
- }
285
- ],
286
- "documentation": "<doc>\n<summary>\nThe short name of the alarm.\n</summary>\n</doc>"
287
- },
288
- "Alarm_get_Notes": {
289
- "parameters": [
290
- {
291
- "name": "this",
292
- "type": {
293
- "code": "CLASS",
294
- "service": "KerbalAlarmClock",
295
- "name": "Alarm"
296
- }
297
- }
298
- ],
299
- "return_type": {
300
- "code": "STRING"
301
- },
302
- "documentation": "<doc>\n<summary>\nThe long description of the alarm.\n</summary>\n</doc>"
303
- },
304
- "Alarm_set_Notes": {
305
- "parameters": [
306
- {
307
- "name": "this",
308
- "type": {
309
- "code": "CLASS",
310
- "service": "KerbalAlarmClock",
311
- "name": "Alarm"
312
- }
313
- },
314
- {
315
- "name": "value",
316
- "type": {
317
- "code": "STRING"
318
- }
319
- }
320
- ],
321
- "documentation": "<doc>\n<summary>\nThe long description of the alarm.\n</summary>\n</doc>"
322
- },
323
- "Alarm_get_Remaining": {
324
- "parameters": [
325
- {
326
- "name": "this",
327
- "type": {
328
- "code": "CLASS",
329
- "service": "KerbalAlarmClock",
330
- "name": "Alarm"
331
- }
332
- }
333
- ],
334
- "return_type": {
335
- "code": "DOUBLE"
336
- },
337
- "documentation": "<doc>\n<summary>\nThe number of seconds until the alarm will fire.\n</summary>\n</doc>"
338
- },
339
- "Alarm_get_Repeat": {
340
- "parameters": [
341
- {
342
- "name": "this",
343
- "type": {
344
- "code": "CLASS",
345
- "service": "KerbalAlarmClock",
346
- "name": "Alarm"
347
- }
348
- }
349
- ],
350
- "return_type": {
351
- "code": "BOOL"
352
- },
353
- "documentation": "<doc>\n<summary>\nWhether the alarm will be repeated after it has fired.\n</summary>\n</doc>"
354
- },
355
- "Alarm_set_Repeat": {
356
- "parameters": [
357
- {
358
- "name": "this",
359
- "type": {
360
- "code": "CLASS",
361
- "service": "KerbalAlarmClock",
362
- "name": "Alarm"
363
- }
364
- },
365
- {
366
- "name": "value",
367
- "type": {
368
- "code": "BOOL"
369
- }
370
- }
371
- ],
372
- "documentation": "<doc>\n<summary>\nWhether the alarm will be repeated after it has fired.\n</summary>\n</doc>"
373
- },
374
- "Alarm_get_RepeatPeriod": {
375
- "parameters": [
376
- {
377
- "name": "this",
378
- "type": {
379
- "code": "CLASS",
380
- "service": "KerbalAlarmClock",
381
- "name": "Alarm"
382
- }
383
- }
384
- ],
385
- "return_type": {
386
- "code": "DOUBLE"
387
- },
388
- "documentation": "<doc>\n<summary>\nThe time delay to automatically create an alarm after it has fired.\n</summary>\n</doc>"
389
- },
390
- "Alarm_set_RepeatPeriod": {
391
- "parameters": [
392
- {
393
- "name": "this",
394
- "type": {
395
- "code": "CLASS",
396
- "service": "KerbalAlarmClock",
397
- "name": "Alarm"
398
- }
399
- },
400
- {
401
- "name": "value",
402
- "type": {
403
- "code": "DOUBLE"
404
- }
405
- }
406
- ],
407
- "documentation": "<doc>\n<summary>\nThe time delay to automatically create an alarm after it has fired.\n</summary>\n</doc>"
408
- },
409
- "Alarm_get_Vessel": {
410
- "parameters": [
411
- {
412
- "name": "this",
413
- "type": {
414
- "code": "CLASS",
415
- "service": "KerbalAlarmClock",
416
- "name": "Alarm"
417
- }
418
- }
419
- ],
420
- "return_type": {
421
- "code": "CLASS",
422
- "service": "SpaceCenter",
423
- "name": "Vessel",
424
- "nullable": false
425
- },
426
- "documentation": "<doc>\n<summary>\nThe vessel that the alarm is attached to.\n</summary>\n</doc>"
427
- },
428
- "Alarm_set_Vessel": {
429
- "parameters": [
430
- {
431
- "name": "this",
432
- "type": {
433
- "code": "CLASS",
434
- "service": "KerbalAlarmClock",
435
- "name": "Alarm"
436
- }
437
- },
438
- {
439
- "name": "value",
440
- "type": {
441
- "code": "CLASS",
442
- "service": "SpaceCenter",
443
- "name": "Vessel"
444
- }
445
- }
446
- ],
447
- "documentation": "<doc>\n<summary>\nThe vessel that the alarm is attached to.\n</summary>\n</doc>"
448
- },
449
- "Alarm_get_XferOriginBody": {
450
- "parameters": [
451
- {
452
- "name": "this",
453
- "type": {
454
- "code": "CLASS",
455
- "service": "KerbalAlarmClock",
456
- "name": "Alarm"
457
- }
458
- }
459
- ],
460
- "return_type": {
461
- "code": "CLASS",
462
- "service": "SpaceCenter",
463
- "name": "CelestialBody",
464
- "nullable": false
465
- },
466
- "documentation": "<doc>\n<summary>\nThe celestial body the vessel is departing from.\n</summary>\n</doc>"
467
- },
468
- "Alarm_set_XferOriginBody": {
469
- "parameters": [
470
- {
471
- "name": "this",
472
- "type": {
473
- "code": "CLASS",
474
- "service": "KerbalAlarmClock",
475
- "name": "Alarm"
476
- }
477
- },
478
- {
479
- "name": "value",
480
- "type": {
481
- "code": "CLASS",
482
- "service": "SpaceCenter",
483
- "name": "CelestialBody"
484
- }
485
- }
486
- ],
487
- "documentation": "<doc>\n<summary>\nThe celestial body the vessel is departing from.\n</summary>\n</doc>"
488
- },
489
- "Alarm_get_XferTargetBody": {
490
- "parameters": [
491
- {
492
- "name": "this",
493
- "type": {
494
- "code": "CLASS",
495
- "service": "KerbalAlarmClock",
496
- "name": "Alarm"
497
- }
498
- }
499
- ],
500
- "return_type": {
501
- "code": "CLASS",
502
- "service": "SpaceCenter",
503
- "name": "CelestialBody",
504
- "nullable": false
505
- },
506
- "documentation": "<doc>\n<summary>\nThe celestial body the vessel is arriving at.\n</summary>\n</doc>"
507
- },
508
- "Alarm_set_XferTargetBody": {
509
- "parameters": [
510
- {
511
- "name": "this",
512
- "type": {
513
- "code": "CLASS",
514
- "service": "KerbalAlarmClock",
515
- "name": "Alarm"
516
- }
517
- },
518
- {
519
- "name": "value",
520
- "type": {
521
- "code": "CLASS",
522
- "service": "SpaceCenter",
523
- "name": "CelestialBody"
524
- }
525
- }
526
- ],
527
- "documentation": "<doc>\n<summary>\nThe celestial body the vessel is arriving at.\n</summary>\n</doc>"
528
- }
529
- },
530
- "classes": {
531
- "Alarm": {
532
- "documentation": "<doc>\n<summary>\nRepresents an alarm. Obtained by calling\n<see cref=\"M:KerbalAlarmClock.Alarms\" />,\n<see cref=\"M:KerbalAlarmClock.AlarmWithName\" /> or\n<see cref=\"M:KerbalAlarmClock.AlarmsWithType\" />.\n</summary>\n</doc>"
533
- }
534
- },
535
- "enumerations": {
536
- "AlarmAction": {
537
- "documentation": "<doc>\n<summary>\nThe action performed by an alarm when it fires.\n</summary>\n</doc>",
538
- "values": [
539
- {
540
- "name": "DoNothing",
541
- "value": 0,
542
- "documentation": "<doc>\n<summary>\nDon't do anything at all...\n</summary>\n</doc>"
543
- },
544
- {
545
- "name": "DoNothingDeleteWhenPassed",
546
- "value": 1,
547
- "documentation": "<doc>\n<summary>\nDon't do anything, and delete the alarm.\n</summary>\n</doc>"
548
- },
549
- {
550
- "name": "KillWarp",
551
- "value": 2,
552
- "documentation": "<doc>\n<summary>\nDrop out of time warp.\n</summary>\n</doc>"
553
- },
554
- {
555
- "name": "KillWarpOnly",
556
- "value": 3,
557
- "documentation": "<doc>\n<summary>\nDrop out of time warp.\n</summary>\n</doc>"
558
- },
559
- {
560
- "name": "MessageOnly",
561
- "value": 4,
562
- "documentation": "<doc>\n<summary>\nDisplay a message.\n</summary>\n</doc>"
563
- },
564
- {
565
- "name": "PauseGame",
566
- "value": 5,
567
- "documentation": "<doc>\n<summary>\nPause the game.\n</summary>\n</doc>"
568
- }
569
- ]
570
- },
571
- "AlarmType": {
572
- "documentation": "<doc>\n<summary>\nThe type of an alarm.\n</summary>\n</doc>",
573
- "values": [
574
- {
575
- "name": "Raw",
576
- "value": 0,
577
- "documentation": "<doc>\n<summary>\nAn alarm for a specific date/time or a specific period in the future.\n</summary>\n</doc>"
578
- },
579
- {
580
- "name": "Maneuver",
581
- "value": 1,
582
- "documentation": "<doc>\n<summary>\nAn alarm based on the next maneuver node on the current ships flight path.\nThis node will be stored and can be restored when you come back to the ship.\n</summary>\n</doc>"
583
- },
584
- {
585
- "name": "ManeuverAuto",
586
- "value": 2,
587
- "documentation": "<doc>\n<summary>\nSee <see cref=\"M:KerbalAlarmClock.AlarmType.Maneuver\" />.\n</summary>\n</doc>"
588
- },
589
- {
590
- "name": "Apoapsis",
591
- "value": 3,
592
- "documentation": "<doc>\n<summary>\nAn alarm for furthest part of the orbit from the planet.\n</summary>\n</doc>"
593
- },
594
- {
595
- "name": "Periapsis",
596
- "value": 4,
597
- "documentation": "<doc>\n<summary>\nAn alarm for nearest part of the orbit from the planet.\n</summary>\n</doc>"
598
- },
599
- {
600
- "name": "AscendingNode",
601
- "value": 5,
602
- "documentation": "<doc>\n<summary>\nAscending node for the targeted object, or equatorial ascending node.\n</summary>\n</doc>"
603
- },
604
- {
605
- "name": "DescendingNode",
606
- "value": 6,
607
- "documentation": "<doc>\n<summary>\nDescending node for the targeted object, or equatorial descending node.\n</summary>\n</doc>"
608
- },
609
- {
610
- "name": "Closest",
611
- "value": 7,
612
- "documentation": "<doc>\n<summary>\nAn alarm based on the closest approach of this vessel to the targeted\nvessel, some number of orbits into the future.\n</summary>\n</doc>"
613
- },
614
- {
615
- "name": "Contract",
616
- "value": 8,
617
- "documentation": "<doc>\n<summary>\nAn alarm based on the expiry or deadline of contracts in career modes.\n</summary>\n</doc>"
618
- },
619
- {
620
- "name": "ContractAuto",
621
- "value": 9,
622
- "documentation": "<doc>\n<summary>\nSee <see cref=\"M:KerbalAlarmClock.AlarmType.Contract\" />.\n</summary>\n</doc>"
623
- },
624
- {
625
- "name": "Crew",
626
- "value": 10,
627
- "documentation": "<doc>\n<summary>\nAn alarm that is attached to a crew member.\n</summary>\n</doc>"
628
- },
629
- {
630
- "name": "Distance",
631
- "value": 11,
632
- "documentation": "<doc>\n<summary>\nAn alarm that is triggered when a selected target comes within a chosen distance.\n</summary>\n</doc>"
633
- },
634
- {
635
- "name": "EarthTime",
636
- "value": 12,
637
- "documentation": "<doc>\n<summary>\nAn alarm based on the time in the \"Earth\" alternative Universe (aka the Real World).\n</summary>\n</doc>"
638
- },
639
- {
640
- "name": "LaunchRendevous",
641
- "value": 13,
642
- "documentation": "<doc>\n<summary>\nAn alarm that fires as your landed craft passes under the orbit of your target.\n</summary>\n</doc>"
643
- },
644
- {
645
- "name": "SOIChange",
646
- "value": 14,
647
- "documentation": "<doc>\n<summary>\nAn alarm manually based on when the next SOI point is on the flight path\nor set to continually monitor the active flight path and add alarms as it\ndetects SOI changes.\n</summary>\n</doc>"
648
- },
649
- {
650
- "name": "SOIChangeAuto",
651
- "value": 15,
652
- "documentation": "<doc>\n<summary>\nSee <see cref=\"M:KerbalAlarmClock.AlarmType.SOIChange\" />.\n</summary>\n</doc>"
653
- },
654
- {
655
- "name": "Transfer",
656
- "value": 16,
657
- "documentation": "<doc>\n<summary>\nAn alarm based on Interplanetary Transfer Phase Angles, i.e. when should\nI launch to planet X? Based on Kosmo Not's post and used in Olex's\nCalculator.\n</summary>\n</doc>"
658
- },
659
- {
660
- "name": "TransferModelled",
661
- "value": 17,
662
- "documentation": "<doc>\n<summary>\nSee <see cref=\"M:KerbalAlarmClock.AlarmType.Transfer\" />.\n</summary>\n</doc>"
663
- }
664
- ]
665
- }
666
- },
667
- "exceptions": {}
668
- }
669
- }