-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathnotification.go
1196 lines (1032 loc) · 37.7 KB
/
notification.go
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
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Package notification contains structs for unmarshaling the YAML data of notifications returned from ESI.
package notification
type AcceptedAlly struct {
AllyID int32 `yaml:"allyID"`
CharID int32 `yaml:"charID"`
EnemyID int32 `yaml:"enemyID"`
IskValue float64 `yaml:"iskValue"`
Time int64 `yaml:"time"`
}
type AcceptedSurrender struct {
CharID int32 `yaml:"charID"`
EntityID int32 `yaml:"entityID"`
IskValue float64 `yaml:"iskValue"`
OfferingID int32 `yaml:"offeringID"`
}
type AllMaintenanceBillMsg struct {
AllianceID int32 `yaml:"allianceID"`
DueDate int64 `yaml:"dueDate"`
}
type AllWarCorpJoinedAllianceMsg struct {
AllianceID int32 `yaml:"allianceID"`
CorpID int32 `yaml:"corpID"`
}
type AllWarDeclaredMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
DelayHours int32 `yaml:"delayHours"`
HostileState int32 `yaml:"hostileState"`
}
type AllWarInvalidatedMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
DelayHours int32 `yaml:"delayHours"`
HostileState int32 `yaml:"hostileState"`
}
type AllWarRetractedMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
DelayHours int32 `yaml:"delayHours"`
HostileState int32 `yaml:"hostileState"`
}
type AllWarSurrenderMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
DelayHours int32 `yaml:"delayHours"`
HostileState int32 `yaml:"hostileState"`
}
type AllianceCapitalChanged struct {
AllianceID int32 `yaml:"allianceID"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type AllyContractCancelled struct {
AggressorID int32 `yaml:"aggressorID"`
DefenderID int32 `yaml:"defenderID"`
TimeFinished int64 `yaml:"timeFinished"`
}
type AllyJoinedWarAggressorMsg struct {
AllyID int32 `yaml:"allyID"`
DefenderID int32 `yaml:"defenderID"`
StartTime int64 `yaml:"startTime"`
}
type AllyJoinedWarAllyMsg struct {
AggressorID int32 `yaml:"aggressorID"`
AllyID int32 `yaml:"allyID"`
DefenderID int32 `yaml:"defenderID"`
StartTime int64 `yaml:"startTime"`
}
type AllyJoinedWarDefenderMsg struct {
AggressorID int32 `yaml:"aggressorID"`
AllyID int32 `yaml:"allyID"`
StartTime int64 `yaml:"startTime"`
}
type BillOutOfMoneyMsg struct {
BillTypeID int32 `yaml:"billTypeID"`
DueDate int64 `yaml:"dueDate"`
}
type BillPaidCorpAllMsg struct {
Amount int32 `yaml:"amount"`
DueDate int64 `yaml:"dueDate"`
}
type BountyClaimMsg struct {
Amount float64 `yaml:"amount"`
CharID int32 `yaml:"charID"`
}
type BountyESSShared struct {
CharID int32 `yaml:"charID"`
MyIsk float64 `yaml:"myIsk"`
TotalIsk float64 `yaml:"totalIsk"`
}
type BountyESSTaken struct {
CharID int32 `yaml:"charID"`
MyIsk float64 `yaml:"myIsk"`
TotalIsk float64 `yaml:"totalIsk"`
}
type BountyPlacedAlliance struct {
Bounty float64 `yaml:"bounty"`
BountyPlacerID int32 `yaml:"bountyPlacerID"`
}
type BountyPlacedChar struct {
Bounty float64 `yaml:"bounty"`
BountyPlacerID int32 `yaml:"bountyPlacerID"`
}
type BountyPlacedCorp struct {
Bounty float64 `yaml:"bounty"`
BountyPlacerID int32 `yaml:"bountyPlacerID"`
}
type BountyYourBountyClaimed struct {
Bounty float64 `yaml:"bounty"`
VictimID int32 `yaml:"victimID"`
}
type BuddyConnectContactAdd struct {
Level int32 `yaml:"level"`
Message string `yaml:"message"`
}
type CharAppAcceptMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CharAppRejectMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CharAppWithdrawMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CharLeftCorpMsg struct {
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CharMedalMsg struct {
CorpID int32 `yaml:"corpID"`
MedalID int32 `yaml:"medalID"`
Reason string `yaml:"reason"`
}
type CharTerminationMsg struct {
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
RoleName string `yaml:"roleName"`
RoleNameIDs []int32 `yaml:"roleNameIDs"`
Security float64 `yaml:"security"`
}
type CloneActivationMsg struct {
CloneBought int32 `yaml:"cloneBought"`
CloneStationID int32 `yaml:"cloneStationID"`
CloneTypeID int32 `yaml:"cloneTypeID"`
CorpStationID int32 `yaml:"corpStationID"`
LastCloned int64 `yaml:"lastCloned"`
PodKillerID int32 `yaml:"podKillerID"`
SkillID int32 `yaml:"skillID"`
SkillPointsLost int32 `yaml:"skillPointsLost"`
}
type CloneActivationMsg2 struct {
CloneStationID int32 `yaml:"cloneStationID"`
CorpStationID int32 `yaml:"corpStationID"`
LastCloned int64 `yaml:"lastCloned"`
PodKillerID int32 `yaml:"podKillerID"`
}
type CloneMovedMsg struct {
CharsInCorpID int32 `yaml:"charsInCorpID"`
CorpID int32 `yaml:"corpID"`
NewStationID int32 `yaml:"newStationID"`
StationID int32 `yaml:"stationID"`
}
type CloneRevokedMsg2 struct {
CorpID int32 `yaml:"corpID"`
NewStationID int32 `yaml:"newStationID"`
StationID int64 `yaml:"stationID"`
}
type ContactAdd struct {
Level int32 `yaml:"level"`
Message string `yaml:"message"`
}
type ContactEdit struct {
Level float64 `yaml:"level"`
Message string `yaml:"message"`
}
type ContainerPasswordMsg struct {
CharID int32 `yaml:"charID"`
Password string `yaml:"password"`
PasswordType string `yaml:"passwordType"`
SolarSystemID int32 `yaml:"solarSystemID"`
StationID int32 `yaml:"stationID"`
TypeID int32 `yaml:"typeID"`
}
type CorpAllBillMsg struct {
Amount float64 `yaml:"amount"`
BillTypeID int32 `yaml:"billTypeID"`
CreditorID int32 `yaml:"creditorID"`
CurrentDate int64 `yaml:"currentDate"`
DebtorID int32 `yaml:"debtorID"`
DueDate int64 `yaml:"dueDate"`
ExternalID int32 `yaml:"externalID"`
ExternalID2 int32 `yaml:"externalID2"`
}
// CorpAllBillMsgV2 represents the updated version for this notification type.
// Use [CorpAllBillMsg] to unmarshal older notifications.
type CorpAllBillMsgV2 struct {
Amount float64 `yaml:"amount"`
BillTypeID int32 `yaml:"billTypeID"`
CreditorID int32 `yaml:"creditorID"`
CurrentDate int64 `yaml:"currentDate"`
DebtorID int32 `yaml:"debtorID"`
DueDate int64 `yaml:"dueDate"`
ExternalID int64 `yaml:"externalID"`
ExternalID2 int64 `yaml:"externalID2"`
}
type CorpAppAcceptMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CorpAppInvitedMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
InvokingCharID int32 `yaml:"invokingCharID"`
}
type CorpAppNewMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CorpAppRejectCustomMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
CustomMessage string `yaml:"customMessage"`
}
type CorpAppRejectMsg struct {
ApplicationText string `yaml:"applicationText"`
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
}
type CorpDividendMsg struct {
Amount float64 `yaml:"amount"`
CorpID int32 `yaml:"corpID"`
IsMembers bool `yaml:"isMembers"`
Payout float64 `yaml:"payout"`
}
type CorpFriendlyFireDisableTimerCompleted struct {
CorpID int32 `yaml:"corpID"`
}
type CorpFriendlyFireDisableTimerStarted struct {
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
TimeFinished int64 `yaml:"timeFinished"`
}
type CorpFriendlyFireEnableTimerCompleted struct {
CorpID int32 `yaml:"corpID"`
}
type CorpFriendlyFireEnableTimerStarted struct {
CharID int32 `yaml:"charID"`
CorpID int32 `yaml:"corpID"`
TimeFinished int64 `yaml:"timeFinished"`
}
type CorpKicked struct {
CorpID int32 `yaml:"corpID"`
}
type CorpLiquidationMsg struct {
Amount float64 `yaml:"amount"`
CorpID int32 `yaml:"corpID"`
Payout float64 `yaml:"payout"`
}
type CorpNewCEOMsg struct {
CorpID int32 `yaml:"corpID"`
NewCeoID int32 `yaml:"newCeoID"`
OldCeoID int32 `yaml:"oldCeoID"`
}
type CorpNewsMsg struct {
Body string `yaml:"body"`
CorpID int32 `yaml:"corpID"`
InEffect int32 `yaml:"inEffect"`
Parameter int32 `yaml:"parameter"`
VoteType int32 `yaml:"voteType"`
}
type CorpTaxChangeMsg struct {
CorpID int32 `yaml:"corpID"`
NewTaxRate float64 `yaml:"newTaxRate"`
OldTaxRate float64 `yaml:"oldTaxRate"`
}
type CorpVoteMsg struct {
Body string `yaml:"body"`
Subject string `yaml:"subject"`
}
type CorpWarDeclaredMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
}
type CorpWarFightingLegalMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
}
type CorpWarInvalidatedMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
}
type CorpWarRetractedMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
}
type CorpWarSurrenderMsg struct {
AgainstID int32 `yaml:"againstID"`
Cost float64 `yaml:"cost"`
DeclaredByID int32 `yaml:"declaredByID"`
}
type CustomsMsg struct {
FactionID int32 `yaml:"factionID"`
LostList []struct {
Fine float64 `yaml:"fine"`
Penalty float64 `yaml:"penalty"`
Quantity int32 `yaml:"quantity"`
TypeID int32 `yaml:"typeID"`
} `yaml:"lostList"`
SecurityLevel float64 `yaml:"securityLevel"`
ShouldAttack int32 `yaml:"shouldAttack"`
ShouldConfiscate int32 `yaml:"shouldConfiscate"`
SolarSystemID int32 `yaml:"solarSystemID"`
StandingDivision float64 `yaml:"standingDivision"`
}
type DeclareWar struct {
CharID int32 `yaml:"charID"`
DefenderID int32 `yaml:"defenderID"`
EntityID int32 `yaml:"entityID"`
}
type EntosisCaptureStarted struct {
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type FWAllianceWarningMsg struct {
AllianceID int32 `yaml:"allianceID"`
CorpList string `yaml:"corpList"`
FactionID int32 `yaml:"factionID"`
RequiredStanding float64 `yaml:"requiredStanding"`
}
type FWCharRankGainMsg struct {
FactionID int32 `yaml:"factionID"`
NewRank int32 `yaml:"newRank"`
}
type FWCharRankLossMsg struct {
FactionID int32 `yaml:"factionID"`
NewRank int32 `yaml:"newRank"`
}
type FWCorpJoinMsg struct {
CorpID int32 `yaml:"corpID"`
FactionID int32 `yaml:"factionID"`
}
type FWCorpKickMsg struct {
CorpID int32 `yaml:"corpID"`
CurrentStanding float64 `yaml:"currentStanding"`
FactionID int32 `yaml:"factionID"`
RequiredStanding float64 `yaml:"requiredStanding"`
}
type FWCorpLeaveMsg struct {
CorpID int32 `yaml:"corpID"`
FactionID int32 `yaml:"factionID"`
}
type FWCorpWarningMsg struct {
CorpID int32 `yaml:"corpID"`
CurrentStanding float64 `yaml:"currentStanding"`
FactionID int32 `yaml:"factionID"`
RequiredStanding float64 `yaml:"requiredStanding"`
}
type FacWarCorpJoinRequestMsg struct {
CorpID int32 `yaml:"corpID"`
FactionID int32 `yaml:"factionID"`
}
type FacWarCorpJoinWithdrawMsg struct {
CorpID int32 `yaml:"corpID"`
FactionID int32 `yaml:"factionID"`
}
type FacWarCorpLeaveRequestMsg struct {
CorpID int32 `yaml:"corpID"`
FactionID int32 `yaml:"factionID"`
}
type FacWarCorpLeaveWithdrawMsg struct {
CorpID int32 `yaml:"corpID"`
FactionID int32 `yaml:"factionID"`
}
type FacWarLPDisqualifiedEvent struct {
Amount int32 `yaml:"amount"`
CharRefID int32 `yaml:"charRefID"`
CorpID int32 `yaml:"corpID"`
DisqualificationType int32 `yaml:"disqualificationType"`
Event int32 `yaml:"event"`
ItemRefID int32 `yaml:"itemRefID"`
LocationID int32 `yaml:"locationID"`
}
type FacWarLPDisqualifiedKill struct {
Amount int32 `yaml:"amount"`
CharRefID int32 `yaml:"charRefID"`
CorpID int32 `yaml:"corpID"`
DisqualificationType int32 `yaml:"disqualificationType"`
Event int32 `yaml:"event"`
ItemRefID int32 `yaml:"itemRefID"`
LocationID int32 `yaml:"locationID"`
}
type FacWarLPPayoutEvent struct {
Amount int32 `yaml:"amount"`
CharRefID int32 `yaml:"charRefID"`
CorpID int32 `yaml:"corpID"`
Event int32 `yaml:"event"`
ItemRefID int32 `yaml:"itemRefID"`
LocationID int32 `yaml:"locationID"`
}
type FacWarLPPayoutKill struct {
Amount int32 `yaml:"amount"`
CharRefID int32 `yaml:"charRefID"`
CorpID int32 `yaml:"corpID"`
Event int32 `yaml:"event"`
ItemRefID int32 `yaml:"itemRefID"`
LocationID int32 `yaml:"locationID"`
}
type GameTimeAdded struct {
}
type GameTimeReceived struct {
Message string `yaml:"message"`
OfferID int32 `yaml:"offerID"`
Quantity int32 `yaml:"quantity"`
SenderCharID int32 `yaml:"senderCharID"`
}
type GameTimeSent struct {
ReceiverCharID int32 `yaml:"receiverCharID"`
SenderCharID int32 `yaml:"senderCharID"`
}
type GiftReceived struct {
Message string `yaml:"message"`
OfferID int32 `yaml:"offerID"`
Quantity int32 `yaml:"quantity"`
SenderCharID int32 `yaml:"senderCharID"`
}
type IncursionCompletedMsg struct {
EmailMessageID float64 `yaml:"emailMessageId"`
SolarSystemID int32 `yaml:"solarSystemID"`
TaleID int32 `yaml:"taleID"`
TopTen [][]int32 `yaml:"topTen"`
}
type InfrastructureHubBillAboutToExpire struct {
BillID int32 `yaml:"billID"`
CorpID int32 `yaml:"corpID"`
DueDate int64 `yaml:"dueDate"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type IndustryTeamAuctionLost struct {
SolarSystemID int32 `yaml:"solarSystemID"`
SystemBids map[int32]float64 `yaml:"systemBids"`
TeamNameInfo []interface{} `yaml:"teamNameInfo"`
TotalIsk float64 `yaml:"totalIsk"`
YourAmount float64 `yaml:"yourAmount"`
}
type IHubDestroyedByBillFailure struct {
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int64 `yaml:"structureTypeID"`
}
type InsuranceExpirationMsg struct {
EndDate int64 `yaml:"endDate"`
ShipID int32 `yaml:"shipID"`
ShipName string `yaml:"shipName"`
StartDate int64 `yaml:"startDate"`
}
type InsuranceFirstShipMsg struct {
IsHouseWarmingGift int32 `yaml:"isHouseWarmingGift"`
ShipTypeID int32 `yaml:"shipTypeID"`
}
type InsuranceInvalidatedMsg struct {
EndDate int64 `yaml:"endDate"`
OwnerID int32 `yaml:"ownerID"`
Reason int32 `yaml:"reason"`
ShipID int32 `yaml:"shipID"`
StartDate int64 `yaml:"startDate"`
TypeID int32 `yaml:"typeID"`
}
type InsuranceIssuedMsg struct {
EndDate int64 `yaml:"endDate"`
ItemID int64 `yaml:"itemID"`
Level float64 `yaml:"level"`
NumWeeks int32 `yaml:"numWeeks"`
ShipName string `yaml:"shipName"`
StartDate int64 `yaml:"startDate"`
TypeID int32 `yaml:"typeID"`
}
type InsurancePayoutMsg struct {
Amount float64 `yaml:"amount"`
ItemID int32 `yaml:"itemID"`
Payout int32 `yaml:"payout"`
}
type JumpCloneDeletedMsg1 struct {
LocationID int64 `yaml:"locationID"`
LocationOwnerID int32 `yaml:"locationOwnerID"`
OwnerID int32 `yaml:"ownerID"`
TypeIDs []int32 `yaml:"typeIDs"`
}
type JumpCloneDeletedMsg2 struct {
DestroyerID int32 `yaml:"destroyerID"`
LocationID int32 `yaml:"locationID"`
LocationOwnerID int32 `yaml:"locationOwnerID"`
OwnerID int32 `yaml:"ownerID"`
TypeIDs []int32 `yaml:"typeIDs"`
}
type KillReportFinalBlow struct {
KillMailHash string `yaml:"killMailHash"`
KillMailID int32 `yaml:"killMailID"`
VictimID int32 `yaml:"victimID"`
VictimShipTypeID int32 `yaml:"victimShipTypeID"`
}
type KillReportVictim struct {
KillMailHash string `yaml:"killMailHash"`
KillMailID int32 `yaml:"killMailID"`
VictimShipTypeID int32 `yaml:"victimShipTypeID"`
}
type KillRightAvailable struct {
CharID int32 `yaml:"charID"`
Price float64 `yaml:"price"`
ToEntityID int32 `yaml:"toEntityID"`
}
type KillRightAvailableOpen struct {
CharID int32 `yaml:"charID"`
Price float64 `yaml:"price"`
}
type KillRightEarned struct {
CharID int32 `yaml:"charID"`
}
type KillRightUnavailable struct {
CharID int32 `yaml:"charID"`
ToEntityID int32 `yaml:"toEntityID"`
}
type KillRightUnavailableOpen struct {
CharID int32 `yaml:"charID"`
}
type KillRightUsed struct {
CharID int32 `yaml:"charID"`
}
type LocateCharMsg struct {
AgentLocation struct {
Region int32 `yaml:"3"`
Constellation int32 `yaml:"4"`
SolarSystem int32 `yaml:"5"`
Station int32 `yaml:"15"`
} `yaml:"agentLocation"`
CharacterID int32 `yaml:"characterID"`
MessageIndex int32 `yaml:"messageIndex"`
TargetLocation struct {
Region int32 `yaml:"3"`
Constellation int32 `yaml:"4"`
SolarSystem int32 `yaml:"5"`
Station int32 `yaml:"15"`
} `yaml:"targetLocation"`
}
type MadeWarMutual struct {
CharID int32 `yaml:"charID"`
EnemyID int32 `yaml:"enemyID"`
}
type MercOfferedNegotiationMsg struct {
AggressorID int32 `yaml:"aggressorID"`
DefenderID int32 `yaml:"defenderID"`
IskValue float64 `yaml:"iskValue"`
MercID int32 `yaml:"mercID"`
}
type MissionOfferExpirationMsg struct {
Body []string `yaml:"body"`
Header []string `yaml:"header"`
MissionKeywords struct {
ObjectiveDestinationID int32 `yaml:"objectiveDestinationID"`
ObjectiveDestinationSystemID int32 `yaml:"objectiveDestinationSystemID"`
ObjectiveLocationID int32 `yaml:"objectiveLocationID"`
ObjectiveLocationSystemID int32 `yaml:"objectiveLocationSystemID"`
ObjectiveQuantity int32 `yaml:"objectiveQuantity"`
ObjectiveTypeID int32 `yaml:"objectiveTypeID"`
RewardQuantity int32 `yaml:"rewardQuantity"`
RewardTypeID int32 `yaml:"rewardTypeID"`
} `yaml:"missionKeywords"`
}
type MoonminingAutomaticFracture struct {
MoonID int32 `yaml:"moonID"`
MoonLink string `yaml:"moonLink"`
OreVolumeByType map[int32]float64 `yaml:"oreVolumeByType"`
SolarSystemID int32 `yaml:"solarSystemID"`
SolarSystemLink string `yaml:"solarSystemLink"`
StructureID int64 `yaml:"structureID"`
StructureLink string `yaml:"structureLink"`
StructureName string `yaml:"structureName"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type MoonminingExtractionCancelled struct {
CancelledBy int32 `yaml:"cancelledBy"`
CancelledByLink string `yaml:"cancelledByLink"`
MoonID int32 `yaml:"moonID"`
MoonLink string `yaml:"moonLink"`
SolarSystemID int32 `yaml:"solarSystemID"`
SolarSystemLink string `yaml:"solarSystemLink"`
StructureID int64 `yaml:"structureID"`
StructureLink string `yaml:"structureLink"`
StructureName string `yaml:"structureName"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type MoonminingExtractionFinished struct {
AutoTime int64 `yaml:"autoTime"`
MoonID int32 `yaml:"moonID"`
MoonLink string `yaml:"moonLink"`
OreVolumeByType map[int32]float64 `yaml:"oreVolumeByType"`
SolarSystemID int32 `yaml:"solarSystemID"`
SolarSystemLink string `yaml:"solarSystemLink"`
StructureID int64 `yaml:"structureID"`
StructureLink string `yaml:"structureLink"`
StructureName string `yaml:"structureName"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type MoonminingExtractionStarted struct {
AutoTime int64 `yaml:"autoTime"`
MoonID int32 `yaml:"moonID"`
MoonLink string `yaml:"moonLink"`
OreVolumeByType map[int32]float64 `yaml:"oreVolumeByType"`
ReadyTime int64 `yaml:"readyTime"`
SolarSystemID int32 `yaml:"solarSystemID"`
SolarSystemLink string `yaml:"solarSystemLink"`
StartedBy int32 `yaml:"startedBy"`
StartedByLink string `yaml:"startedByLink"`
StructureID int64 `yaml:"structureID"`
StructureLink string `yaml:"structureLink"`
StructureName string `yaml:"structureName"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type MoonminingLaserFired struct {
FiredBy int32 `yaml:"firedBy"`
FiredByLink string `yaml:"firedByLink"`
MoonID int32 `yaml:"moonID"`
MoonLink string `yaml:"moonLink"`
OreVolumeByType map[int32]float64 `yaml:"oreVolumeByType"`
SolarSystemID int32 `yaml:"solarSystemID"`
SolarSystemLink string `yaml:"solarSystemLink"`
StructureID int64 `yaml:"structureID"`
StructureLink string `yaml:"structureLink"`
StructureName string `yaml:"structureName"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type NPCStandingsGained [][]float64
type NPCStandingsLost [][]float64
type OfferedSurrender struct {
CharID int32 `yaml:"charID"`
EntityID int32 `yaml:"entityID"`
IskValue float64 `yaml:"iskValue"`
OfferedID int32 `yaml:"offeredID"`
}
type OfferedToAlly struct {
CharID int32 `yaml:"charID"`
DefenderID int32 `yaml:"defenderID"`
EnemyID int32 `yaml:"enemyID"`
IskValue float64 `yaml:"iskValue"`
}
type OldLscMessages struct {
Subject string `yaml:"subject"`
Body string `yaml:"body"`
}
type OperationFinished struct {
OperationID int32 `yaml:"operationID"`
Rewards struct {
Isk int32 `yaml:"isk"`
} `yaml:"rewards"`
}
type OrbitalAttacked struct {
AggressorAllianceID int32 `yaml:"aggressorAllianceID"`
AggressorCorpID int32 `yaml:"aggressorCorpID"`
AggressorID int32 `yaml:"aggressorID"`
PlanetID int32 `yaml:"planetID"`
PlanetTypeID int32 `yaml:"planetTypeID"`
ShieldLevel float64 `yaml:"shieldLevel"`
SolarSystemID int32 `yaml:"solarSystemID"`
TypeID int32 `yaml:"typeID"`
}
type OrbitalReinforced struct {
AggressorAllianceID int32 `yaml:"aggressorAllianceID"`
AggressorCorpID int32 `yaml:"aggressorCorpID"`
AggressorID int32 `yaml:"aggressorID"`
PlanetID int32 `yaml:"planetID"`
PlanetTypeID int32 `yaml:"planetTypeID"`
ReinforceExitTime int64 `yaml:"reinforceExitTime"`
SolarSystemID int32 `yaml:"solarSystemID"`
TypeID int32 `yaml:"typeID"`
}
type OwnershipTransferred struct {
CharacterLinkData []interface{} `yaml:"characterLinkData"`
CharacterName string `yaml:"characterName"`
FromCorporationLinkData []interface{} `yaml:"fromCorporationLinkData"`
FromCorporationName string `yaml:"fromCorporationName"`
SolarSystemLinkData []interface{} `yaml:"solarSystemLinkData"`
SolarSystemName string `yaml:"solarSystemName"`
StructureLinkData []interface{} `yaml:"structureLinkData"`
StructureName string `yaml:"structureName"`
ToCorporationLinkData []interface{} `yaml:"toCorporationLinkData"`
ToCorporationName string `yaml:"toCorporationName"`
}
// OwnershipTransferredV2 represents the updated version for this notification type.
// Use [OwnershipTransferred] to unmarshal older notifications.
type OwnershipTransferredV2 struct {
CharID int32 `yaml:"charID"`
NewOwnerCorpID int32 `yaml:"newOwnerCorpID"`
OldOwnerCorpID int32 `yaml:"oldOwnerCorpID"`
SolarSystemID int32 `yaml:"solarSystemID"`
StructureID int64 `yaml:"structureID"`
StructureName string `yaml:"structureName"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type ReimbursementMsg struct {
AddCloneInfo int32 `yaml:"addCloneInfo"`
ShipTypeID int32 `yaml:"shipTypeID"`
SolarSystemID int32 `yaml:"solarSystemID"`
StationID int32 `yaml:"stationID"`
}
type ResearchMissionAvailableMsg struct {
}
type RetractsWar struct {
CharID int32 `yaml:"charID"`
EnemyID int32 `yaml:"enemyID"`
}
type SeasonalChallengeCompleted struct {
ChallengeNameID int32 `yaml:"challenge_name_id"`
MaxProgress int32 `yaml:"max_progress"`
PointsAwarded int32 `yaml:"points_awarded"`
ProgressText int32 `yaml:"progress_text"`
}
type SovAllClaimAquiredMsg struct {
AllianceID int32 `yaml:"allianceID"`
CorpID int32 `yaml:"corpID"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type SovAllClaimLostMsg struct {
AllianceID int32 `yaml:"allianceID"`
CorpID int32 `yaml:"corpID"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type SovCommandNodeEventStarted struct {
CampaignEventType int32 `yaml:"campaignEventType"`
ConstellationID int32 `yaml:"constellationID"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type SovStationEnteredFreeport struct {
Freeportexittime int64 `yaml:"freeportexittime"`
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type SovStructureDestroyed struct {
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type SovStructureReinforced struct {
CampaignEventType int32 `yaml:"campaignEventType"`
DecloakTime int64 `yaml:"decloakTime"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type SovStructureSelfDestructCancel struct {
CharID int32 `yaml:"charID"`
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type SovStructureSelfDestructFinished struct {
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type SovStructureSelfDestructRequested struct {
CharID int32 `yaml:"charID"`
CorpName string `yaml:"corpName"`
DestructTime int64 `yaml:"destructTime"`
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type SovereigntyIHDamageMsg struct {
AggressorAllianceID int32 `yaml:"aggressorAllianceID"`
AggressorCorpID int32 `yaml:"aggressorCorpID"`
AggressorID int32 `yaml:"aggressorID"`
ArmorValue float64 `yaml:"armorValue"`
HullValue float64 `yaml:"hullValue"`
ShieldValue float64 `yaml:"shieldValue"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type SovereigntySBUDamageMsg struct {
AggressorAllianceID int32 `yaml:"aggressorAllianceID"`
AggressorCorpID int32 `yaml:"aggressorCorpID"`
AggressorID int32 `yaml:"aggressorID"`
ArmorValue float64 `yaml:"armorValue"`
HullValue float64 `yaml:"hullValue"`
ShieldValue float64 `yaml:"shieldValue"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type SovereigntyTCUDamageMsg struct {
AggressorAllianceID int32 `yaml:"aggressorAllianceID"`
AggressorCorpID int32 `yaml:"aggressorCorpID"`
AggressorID int32 `yaml:"aggressorID"`
ArmorValue float64 `yaml:"armorValue"`
HullValue float64 `yaml:"hullValue"`
ShieldValue float64 `yaml:"shieldValue"`
SolarSystemID int32 `yaml:"solarSystemID"`
}
type StationServiceDisabled struct {
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type StationServiceEnabled struct {
SolarSystemID int32 `yaml:"solarSystemID"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type StructureAnchoring struct {
OwnerCorpLinkData []interface{} `yaml:"ownerCorpLinkData"`
OwnerCorpName string `yaml:"ownerCorpName"`
SolarsystemID int32 `yaml:"solarsystemID"`
StructureID int64 `yaml:"structureID"`
StructureShowInfoData []interface{} `yaml:"structureShowInfoData"`
StructureTypeID int32 `yaml:"structureTypeID"`
TimeLeft int64 `yaml:"timeLeft"`
VulnerableTime int64 `yaml:"vulnerableTime"`
}
type StructureDestroyed struct {
OwnerCorpLinkData []interface{} `yaml:"ownerCorpLinkData"`
OwnerCorpName string `yaml:"ownerCorpName"`
SolarsystemID int32 `yaml:"solarsystemID"`
StructureID int64 `yaml:"structureID"`
StructureShowInfoData []interface{} `yaml:"structureShowInfoData"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type StructureFuelAlert struct {
ListOfTypesAndQty [][]int32 `yaml:"listOfTypesAndQty"`
SolarsystemID int32 `yaml:"solarsystemID"`
StructureID int64 `yaml:"structureID"`
StructureShowInfoData []interface{} `yaml:"structureShowInfoData"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type StructureImpendingAbandonmentAssetsAtRisk struct {
DaysUntilAbandon int32 `yaml:"daysUntilAbandon"`
IsCorpOwned bool `yaml:"isCorpOwned"`
SolarSystemID int32 `yaml:"solarsystemID"`
StructureID int64 `yaml:"structureID"`
StructureLink string `yaml:"structureLink"`
StructureShowInfoData []interface{} `yaml:"structureShowInfoData"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type StructureItemsDelivered struct {
CharID int32 `yaml:"charID"`
ListOfTypesAndQty [][]int32 `yaml:"listOfTypesAndQty"`
SolarsystemID int32 `yaml:"solarsystemID"`
StructureID int64 `yaml:"structureID"`
StructureShowInfoData []interface{} `yaml:"structureShowInfoData"`
StructureTypeID int32 `yaml:"structureTypeID"`
}
type StructureItemsMovedToSafety struct {
AssetSafetyDurationFull int64 `yaml:"assetSafetyDurationFull"`
AssetSafetyDurationMinimum int64 `yaml:"assetSafetyDurationMinimum"`
AssetSafetyFullTimestamp int64 `yaml:"assetSafetyFullTimestamp"`