aa-structures 2.12.0__py3-none-any.whl → 2.13.0__py3-none-any.whl
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.
- {aa_structures-2.12.0.dist-info → aa_structures-2.13.0.dist-info}/METADATA +1 -1
- {aa_structures-2.12.0.dist-info → aa_structures-2.13.0.dist-info}/RECORD +19 -16
- structures/__init__.py +1 -1
- structures/core/notification_embeds/main.py +58 -31
- structures/core/notification_embeds/orbital_embeds.py +1 -1
- structures/core/notification_embeds/skyhook_embeds.py +89 -0
- structures/core/notification_embeds/structures_embeds.py +23 -12
- structures/core/notification_embeds/tower_embeds.py +1 -1
- structures/core/notification_types.py +57 -36
- structures/managers.py +9 -6
- structures/migrations/0007_add_notificationtypes_skyhook_metenox.py +149 -0
- structures/migrations/0008_add_notificationtypes_skyhook_metenox.py +149 -0
- structures/tests/core/test_notification_types.py +16 -0
- structures/tests/testdata/create_eveuniverse.py +6 -1
- structures/tests/testdata/entities.json +71 -1
- structures/tests/testdata/eveuniverse.json +6306 -5145
- structures/tests/testdata/generate_notifications.py +142 -157
- {aa_structures-2.12.0.dist-info → aa_structures-2.13.0.dist-info}/LICENSE +0 -0
- {aa_structures-2.12.0.dist-info → aa_structures-2.13.0.dist-info}/WHEEL +0 -0
structures/managers.py
CHANGED
@@ -237,7 +237,7 @@ class StructureQuerySet(models.QuerySet):
|
|
237
237
|
|
238
238
|
def select_related_defaults(self) -> models.QuerySet:
|
239
239
|
"""returns a QuerySet with the default select_related"""
|
240
|
-
return self.select_related(
|
240
|
+
return self.select_related( # pylint: disable=E1102
|
241
241
|
"owner",
|
242
242
|
"owner__corporation",
|
243
243
|
"owner__corporation__alliance",
|
@@ -383,7 +383,9 @@ class StructureManagerBase(models.Manager):
|
|
383
383
|
def update_or_create_from_dict(self, structure: dict, owner) -> Tuple[Any, bool]:
|
384
384
|
"""update or create structure from given dict"""
|
385
385
|
|
386
|
-
eve_type
|
386
|
+
eve_type: EveType = EveType.objects.get_or_create_esi(id=structure["type_id"])[
|
387
|
+
0
|
388
|
+
]
|
387
389
|
eve_solar_system, _ = EveSolarSystem.objects.get_or_create_esi(
|
388
390
|
id=structure["system_id"]
|
389
391
|
)
|
@@ -423,10 +425,11 @@ class StructureManagerBase(models.Manager):
|
|
423
425
|
if old_obj:
|
424
426
|
obj.handle_fuel_notifications(old_obj)
|
425
427
|
|
426
|
-
# Make sure we have dogmas loaded
|
427
|
-
|
428
|
-
|
429
|
-
|
428
|
+
# Make sure we have dogmas loaded with all upwell structures for fittings
|
429
|
+
if eve_type.eve_group.eve_category_id == EveCategoryId.STRUCTURE:
|
430
|
+
EveType.objects.get_or_create_esi(
|
431
|
+
id=structure["type_id"], enabled_sections=[EveType.Section.DOGMAS]
|
432
|
+
)
|
430
433
|
|
431
434
|
self._save_related_structure_services(structure, obj)
|
432
435
|
|
@@ -0,0 +1,149 @@
|
|
1
|
+
# Generated by Django 4.0.10 on 2024-08-19 14:25
|
2
|
+
|
3
|
+
import multiselectfield.db.fields
|
4
|
+
|
5
|
+
from django.db import migrations
|
6
|
+
|
7
|
+
|
8
|
+
class Migration(migrations.Migration):
|
9
|
+
|
10
|
+
dependencies = [
|
11
|
+
("structures", "0006_add_ownercharacter_disabled"),
|
12
|
+
]
|
13
|
+
|
14
|
+
operations = [
|
15
|
+
migrations.AlterField(
|
16
|
+
model_name="webhook",
|
17
|
+
name="notification_types",
|
18
|
+
field=multiselectfield.db.fields.MultiSelectField(
|
19
|
+
choices=[
|
20
|
+
("OwnershipTransferred", "Upwell structure ownership transferred"),
|
21
|
+
("StructureAnchoring", "Upwell structure anchoring"),
|
22
|
+
("StructureDestroyed", "Upwell structure destroyed"),
|
23
|
+
("StructureFuelAlert", "Upwell structure fuel alert"),
|
24
|
+
("StructureJumpFuelAlert", "Upwell structure jump fuel alert"),
|
25
|
+
("StructureLostArmor", "Upwell structure lost armor"),
|
26
|
+
("StructureLostShields", "Upwell structure lost shields"),
|
27
|
+
("StructureLowReagentsAlert", "Structure low reagents alert"),
|
28
|
+
("StructureNoReagentsAlert", "Structure no reagents alert"),
|
29
|
+
("StructureOnline", "Upwell structure went online"),
|
30
|
+
("StructureRefueledExtra", "Upwell structure refueled"),
|
31
|
+
(
|
32
|
+
"StructuresReinforcementChanged",
|
33
|
+
"Upwell structure reinforcement time changed",
|
34
|
+
),
|
35
|
+
(
|
36
|
+
"StructureServicesOffline",
|
37
|
+
"Upwell structure services went offline",
|
38
|
+
),
|
39
|
+
("StructureUnanchoring", "Upwell structure unanchoring"),
|
40
|
+
("StructureUnderAttack", "Upwell structure is under attack"),
|
41
|
+
("StructureWentHighPower", "Upwell structure went high power"),
|
42
|
+
("StructureWentLowPower", "Upwell structure went low power"),
|
43
|
+
("SkyhookDeployed", "Skyhook deployed"),
|
44
|
+
("SkyhookDestroyed", "Skyhook destroyed"),
|
45
|
+
("SkyhookLostShields", "Skyhook lost shields"),
|
46
|
+
("SkyhookOnline", "Skyhook online"),
|
47
|
+
("SkyhookUnderAttack", "Skyhook under attack"),
|
48
|
+
("OrbitalAttacked", "Customs office attacked"),
|
49
|
+
("OrbitalReinforced", "Customs office reinforced"),
|
50
|
+
("TowerAlertMsg", "Starbase attacked"),
|
51
|
+
("TowerRefueledExtra", "Starbase refueled (BETA)"),
|
52
|
+
("TowerReinforcedExtra", "Starbase reinforced (BETA)"),
|
53
|
+
("TowerResourceAlertMsg", "Starbase fuel alert"),
|
54
|
+
(
|
55
|
+
"MoonminingAutomaticFracture",
|
56
|
+
"Moon mining automatic fracture triggered",
|
57
|
+
),
|
58
|
+
(
|
59
|
+
"MoonminingExtractionCancelled",
|
60
|
+
"Moon mining extraction cancelled",
|
61
|
+
),
|
62
|
+
("MoonminingExtractionFinished", "Moon mining extraction finished"),
|
63
|
+
("MoonminingExtractionStarted", "Moon mining extraction started"),
|
64
|
+
("MoonminingLaserFired", "Moonmining laser fired"),
|
65
|
+
("SovAllClaimAquiredMsg", "Sovereignty claim acknowledgment"),
|
66
|
+
("SovAllClaimLostMsg", "Sovereignty lost"),
|
67
|
+
("AllAnchoringMsg", "Structure anchoring in alliance space"),
|
68
|
+
("EntosisCaptureStarted", "Sovereignty entosis capture started"),
|
69
|
+
("SovStructureDestroyed", "Sovereignty structure destroyed"),
|
70
|
+
("SovStructureReinforced", "Sovereignty structure reinforced"),
|
71
|
+
(
|
72
|
+
"SovCommandNodeEventStarted",
|
73
|
+
"Sovereignty command node event started",
|
74
|
+
),
|
75
|
+
("AcceptedAlly", "War accepted ally"),
|
76
|
+
(
|
77
|
+
"AllWarCorpJoinedAllianceMsg",
|
78
|
+
"Alliance war corporation joined alliance message",
|
79
|
+
),
|
80
|
+
("AllWarSurrenderMsg", "Alliance war surrender message"),
|
81
|
+
("AllyJoinedWarAggressorMsg", "War ally joined aggressor"),
|
82
|
+
("AllyJoinedWarAllyMsg", "War ally joined ally"),
|
83
|
+
("AllyJoinedWarDefenderMsg", "War ally joined defender"),
|
84
|
+
("CorpWarSurrenderMsg", "War party surrendered"),
|
85
|
+
("CorpBecameWarEligible", "War corporation became eligible"),
|
86
|
+
("CorpNoLongerWarEligible", "War corporation no longer eligible"),
|
87
|
+
("DeclareWar", "War declared"),
|
88
|
+
("WarHQRemovedFromSpace", "War HQ removed from space"),
|
89
|
+
("WarInvalid", "War invalid"),
|
90
|
+
(
|
91
|
+
"MercOfferedNegotiationMsg",
|
92
|
+
"War mercenary offered negotiation message",
|
93
|
+
),
|
94
|
+
("MercOfferRetractedMsg", "War mercenary offer retracted message"),
|
95
|
+
("OfferedSurrender", "War offered surrender"),
|
96
|
+
("OfferedToAlly", "War offered to become ally"),
|
97
|
+
("WarAdopted ", "War adopted"),
|
98
|
+
("WarDeclared", "War declared"),
|
99
|
+
("WarInherited", "War inherited"),
|
100
|
+
("WarRetractedByConcord", "War retracted by Concord"),
|
101
|
+
("WarSurrenderOfferMsg", "War surrender offered"),
|
102
|
+
("CharAppAcceptMsg", "Character joins corporation"),
|
103
|
+
("CorpAppInvitedMsg", "Character invited to join corporation"),
|
104
|
+
("CorpAppNewMsg", "Character submitted application"),
|
105
|
+
("CharAppRejectMsg", "Corp application rejected message"),
|
106
|
+
(
|
107
|
+
"CorpAppRejectCustomMsg",
|
108
|
+
"Corp application rejected custom message",
|
109
|
+
),
|
110
|
+
("CharAppWithdrawMsg", "Character withdrew application"),
|
111
|
+
("CharLeftCorpMsg", "Character leaves corporation"),
|
112
|
+
("BillOutOfMoneyMsg", "Bill out of money"),
|
113
|
+
("CorpAllBillMsg", "Corp alliance billing message"),
|
114
|
+
(
|
115
|
+
"InfrastructureHubBillAboutToExpire",
|
116
|
+
"I-HUB bill about to expire",
|
117
|
+
),
|
118
|
+
("IHubDestroyedByBillFailure", "I_HUB destroyed by bill failure"),
|
119
|
+
],
|
120
|
+
default=[
|
121
|
+
"OrbitalAttacked",
|
122
|
+
"OrbitalReinforced",
|
123
|
+
"SkyhookDestroyed",
|
124
|
+
"SkyhookLostShields",
|
125
|
+
"SkyhookOnline",
|
126
|
+
"SkyhookUnderAttack",
|
127
|
+
"SovStructureDestroyed",
|
128
|
+
"SovStructureReinforced",
|
129
|
+
"StructureAnchoring",
|
130
|
+
"StructureDestroyed",
|
131
|
+
"StructureFuelAlert",
|
132
|
+
"StructureLostArmor",
|
133
|
+
"StructureLostShields",
|
134
|
+
"StructureLowReagentsAlert",
|
135
|
+
"StructureNoReagentsAlert",
|
136
|
+
"StructureOnline",
|
137
|
+
"StructureServicesOffline",
|
138
|
+
"StructureUnderAttack",
|
139
|
+
"StructureWentHighPower",
|
140
|
+
"StructureWentLowPower",
|
141
|
+
"TowerAlertMsg",
|
142
|
+
"TowerResourceAlertMsg",
|
143
|
+
],
|
144
|
+
help_text="Select which type of notifications should be forwarded to this webhook",
|
145
|
+
max_length=1475,
|
146
|
+
verbose_name="notification types",
|
147
|
+
),
|
148
|
+
),
|
149
|
+
]
|
@@ -0,0 +1,149 @@
|
|
1
|
+
# Generated by Django 4.0.10 on 2024-08-19 18:59
|
2
|
+
|
3
|
+
import multiselectfield.db.fields
|
4
|
+
|
5
|
+
from django.db import migrations
|
6
|
+
|
7
|
+
|
8
|
+
class Migration(migrations.Migration):
|
9
|
+
|
10
|
+
dependencies = [
|
11
|
+
("structures", "0007_add_notificationtypes_skyhook_metenox"),
|
12
|
+
]
|
13
|
+
|
14
|
+
operations = [
|
15
|
+
migrations.AlterField(
|
16
|
+
model_name="webhook",
|
17
|
+
name="notification_types",
|
18
|
+
field=multiselectfield.db.fields.MultiSelectField(
|
19
|
+
choices=[
|
20
|
+
("OwnershipTransferred", "Upwell structure ownership transferred"),
|
21
|
+
("StructureAnchoring", "Upwell structure anchoring"),
|
22
|
+
("StructureDestroyed", "Upwell structure destroyed"),
|
23
|
+
("StructureFuelAlert", "Upwell structure fuel alert"),
|
24
|
+
("StructureJumpFuelAlert", "Upwell structure jump fuel alert"),
|
25
|
+
("StructureLostArmor", "Upwell structure lost armor"),
|
26
|
+
("StructureLostShields", "Upwell structure lost shields"),
|
27
|
+
("StructureLowReagentsAlert", "Structure low reagents alert"),
|
28
|
+
("StructureNoReagentsAlert", "Structure no reagents alert"),
|
29
|
+
("StructureOnline", "Upwell structure went online"),
|
30
|
+
("StructureRefueledExtra", "Upwell structure refueled"),
|
31
|
+
(
|
32
|
+
"StructuresReinforcementChanged",
|
33
|
+
"Upwell structure reinforcement time changed",
|
34
|
+
),
|
35
|
+
(
|
36
|
+
"StructureServicesOffline",
|
37
|
+
"Upwell structure services went offline",
|
38
|
+
),
|
39
|
+
("StructureUnanchoring", "Upwell structure unanchoring"),
|
40
|
+
("StructureUnderAttack", "Upwell structure is under attack"),
|
41
|
+
("StructureWentHighPower", "Upwell structure went high power"),
|
42
|
+
("StructureWentLowPower", "Upwell structure went low power"),
|
43
|
+
("SkyhookDeployed", "Skyhook deployed"),
|
44
|
+
("SkyhookDestroyed", "Skyhook destroyed"),
|
45
|
+
("SkyhookLostShields", "Skyhook lost shields"),
|
46
|
+
("SkyhookOnline", "Skyhook online"),
|
47
|
+
("SkyhookUnderAttack", "Skyhook under attack"),
|
48
|
+
("OrbitalAttacked", "Customs office attacked"),
|
49
|
+
("OrbitalReinforced", "Customs office reinforced"),
|
50
|
+
("TowerAlertMsg", "Starbase attacked"),
|
51
|
+
("TowerRefueledExtra", "Starbase refueled (BETA)"),
|
52
|
+
("TowerReinforcedExtra", "Starbase reinforced (BETA)"),
|
53
|
+
("TowerResourceAlertMsg", "Starbase fuel alert"),
|
54
|
+
(
|
55
|
+
"MoonminingAutomaticFracture",
|
56
|
+
"Moon mining automatic fracture triggered",
|
57
|
+
),
|
58
|
+
(
|
59
|
+
"MoonminingExtractionCancelled",
|
60
|
+
"Moon mining extraction cancelled",
|
61
|
+
),
|
62
|
+
("MoonminingExtractionFinished", "Moon mining extraction finished"),
|
63
|
+
("MoonminingExtractionStarted", "Moon mining extraction started"),
|
64
|
+
("MoonminingLaserFired", "Moonmining laser fired"),
|
65
|
+
("SovAllClaimAquiredMsg", "Sovereignty claim acknowledgment"),
|
66
|
+
("SovAllClaimLostMsg", "Sovereignty lost"),
|
67
|
+
("AllAnchoringMsg", "Structure anchoring in alliance space"),
|
68
|
+
("EntosisCaptureStarted", "Sovereignty entosis capture started"),
|
69
|
+
("SovStructureDestroyed", "Sovereignty structure destroyed"),
|
70
|
+
("SovStructureReinforced", "Sovereignty structure reinforced"),
|
71
|
+
(
|
72
|
+
"SovCommandNodeEventStarted",
|
73
|
+
"Sovereignty command node event started",
|
74
|
+
),
|
75
|
+
("AcceptedAlly", "War accepted ally"),
|
76
|
+
(
|
77
|
+
"AllWarCorpJoinedAllianceMsg",
|
78
|
+
"Alliance war corporation joined alliance message",
|
79
|
+
),
|
80
|
+
("AllWarSurrenderMsg", "Alliance war surrender message"),
|
81
|
+
("AllyJoinedWarAggressorMsg", "War ally joined aggressor"),
|
82
|
+
("AllyJoinedWarAllyMsg", "War ally joined ally"),
|
83
|
+
("AllyJoinedWarDefenderMsg", "War ally joined defender"),
|
84
|
+
("CorpWarSurrenderMsg", "War party surrendered"),
|
85
|
+
("CorpBecameWarEligible", "War corporation became eligible"),
|
86
|
+
("CorpNoLongerWarEligible", "War corporation no longer eligible"),
|
87
|
+
("DeclareWar", "War declared"),
|
88
|
+
("WarHQRemovedFromSpace", "War HQ removed from space"),
|
89
|
+
("WarInvalid", "War invalid"),
|
90
|
+
(
|
91
|
+
"MercOfferedNegotiationMsg",
|
92
|
+
"War mercenary offered negotiation message",
|
93
|
+
),
|
94
|
+
("MercOfferRetractedMsg", "War mercenary offer retracted message"),
|
95
|
+
("OfferedSurrender", "War offered surrender"),
|
96
|
+
("OfferedToAlly", "War offered to become ally"),
|
97
|
+
("WarAdopted", "War adopted"),
|
98
|
+
("WarDeclared", "War declared"),
|
99
|
+
("WarInherited", "War inherited"),
|
100
|
+
("WarRetractedByConcord", "War retracted by Concord"),
|
101
|
+
("WarSurrenderOfferMsg", "War surrender offered"),
|
102
|
+
("CharAppAcceptMsg", "Character joins corporation"),
|
103
|
+
("CorpAppInvitedMsg", "Character invited to join corporation"),
|
104
|
+
("CorpAppNewMsg", "Character submitted application"),
|
105
|
+
("CharAppRejectMsg", "Corp application rejected message"),
|
106
|
+
(
|
107
|
+
"CorpAppRejectCustomMsg",
|
108
|
+
"Corp application rejected custom message",
|
109
|
+
),
|
110
|
+
("CharAppWithdrawMsg", "Character withdrew application"),
|
111
|
+
("CharLeftCorpMsg", "Character leaves corporation"),
|
112
|
+
("BillOutOfMoneyMsg", "Bill out of money"),
|
113
|
+
("CorpAllBillMsg", "Corp alliance billing message"),
|
114
|
+
(
|
115
|
+
"InfrastructureHubBillAboutToExpire",
|
116
|
+
"I-HUB bill about to expire",
|
117
|
+
),
|
118
|
+
("IHubDestroyedByBillFailure", "I_HUB destroyed by bill failure"),
|
119
|
+
],
|
120
|
+
default=[
|
121
|
+
"OrbitalAttacked",
|
122
|
+
"OrbitalReinforced",
|
123
|
+
"SkyhookDestroyed",
|
124
|
+
"SkyhookLostShields",
|
125
|
+
"SkyhookOnline",
|
126
|
+
"SkyhookUnderAttack",
|
127
|
+
"SovStructureDestroyed",
|
128
|
+
"SovStructureReinforced",
|
129
|
+
"StructureAnchoring",
|
130
|
+
"StructureDestroyed",
|
131
|
+
"StructureFuelAlert",
|
132
|
+
"StructureLostArmor",
|
133
|
+
"StructureLostShields",
|
134
|
+
"StructureLowReagentsAlert",
|
135
|
+
"StructureNoReagentsAlert",
|
136
|
+
"StructureOnline",
|
137
|
+
"StructureServicesOffline",
|
138
|
+
"StructureUnderAttack",
|
139
|
+
"StructureWentHighPower",
|
140
|
+
"StructureWentLowPower",
|
141
|
+
"TowerAlertMsg",
|
142
|
+
"TowerResourceAlertMsg",
|
143
|
+
],
|
144
|
+
help_text="Select which type of notifications should be forwarded to this webhook",
|
145
|
+
max_length=1474,
|
146
|
+
verbose_name="notification types",
|
147
|
+
),
|
148
|
+
),
|
149
|
+
]
|
@@ -118,6 +118,11 @@ class TestNotificationType(TestCase):
|
|
118
118
|
"CorpWarInvalidatedMsg",
|
119
119
|
"CorpWarRetractedMsg",
|
120
120
|
"CorpWarSurrenderMsg",
|
121
|
+
"CorporationGoalClosed",
|
122
|
+
"CorporationGoalCompleted",
|
123
|
+
"CorporationGoalCreated",
|
124
|
+
"CorporationGoalNameChange",
|
125
|
+
"CorporationLeft",
|
121
126
|
"CustomsMsg",
|
122
127
|
"DeclareWar",
|
123
128
|
"DistrictAttacked",
|
@@ -172,6 +177,7 @@ class TestNotificationType(TestCase):
|
|
172
177
|
"KillRightUnavailable",
|
173
178
|
"KillRightUnavailableOpen",
|
174
179
|
"KillRightUsed",
|
180
|
+
"LPAutoRedeemed",
|
175
181
|
"LocateCharMsg",
|
176
182
|
"MadeWarMutual",
|
177
183
|
"MercOfferRetractedMsg",
|
@@ -205,7 +211,14 @@ class TestNotificationType(TestCase):
|
|
205
211
|
"ReimbursementMsg",
|
206
212
|
"ResearchMissionAvailableMsg",
|
207
213
|
"RetractsWar",
|
214
|
+
"SPAutoRedeemed",
|
208
215
|
"SeasonalChallengeCompleted",
|
216
|
+
"SkinSequencingCompleted",
|
217
|
+
"SkyhookDeployed",
|
218
|
+
"SkyhookDestroyed",
|
219
|
+
"SkyhookLostShields",
|
220
|
+
"SkyhookOnline",
|
221
|
+
"SkyhookUnderAttack",
|
209
222
|
"SovAllClaimAquiredMsg",
|
210
223
|
"SovAllClaimLostMsg",
|
211
224
|
"SovCommandNodeEventStarted",
|
@@ -237,7 +250,10 @@ class TestNotificationType(TestCase):
|
|
237
250
|
"StructureItemsMovedToSafety",
|
238
251
|
"StructureLostArmor",
|
239
252
|
"StructureLostShields",
|
253
|
+
"StructureLowReagentsAlert",
|
254
|
+
"StructureNoReagentsAlert",
|
240
255
|
"StructureOnline",
|
256
|
+
"StructurePaintPurchased",
|
241
257
|
"StructureServicesOffline",
|
242
258
|
"StructureUnanchoring",
|
243
259
|
"StructureUnderAttack",
|
@@ -16,6 +16,11 @@ class CreateEveUniverseTestData(TestCase):
|
|
16
16
|
include_children=True,
|
17
17
|
enabled_sections=[EveType.Section.DOGMAS],
|
18
18
|
),
|
19
|
+
ModelSpec(
|
20
|
+
"EveCategory",
|
21
|
+
ids=[EveCategoryId.ORBITAL],
|
22
|
+
include_children=True,
|
23
|
+
),
|
19
24
|
ModelSpec(
|
20
25
|
"EveGroup",
|
21
26
|
ids=[EveGroupId.CONTROL_TOWER],
|
@@ -24,7 +29,7 @@ class CreateEveUniverseTestData(TestCase):
|
|
24
29
|
),
|
25
30
|
ModelSpec(
|
26
31
|
"EveType",
|
27
|
-
ids=[EveTypeId.TCU, EveTypeId.IHUB
|
32
|
+
ids=[EveTypeId.TCU, EveTypeId.IHUB],
|
28
33
|
include_children=True,
|
29
34
|
enabled_sections=[EveType.Section.DOGMAS],
|
30
35
|
),
|
@@ -251,7 +251,7 @@
|
|
251
251
|
"notification_id": 1000000511,
|
252
252
|
"type": "StructureWentLowPower",
|
253
253
|
"sender_id": 2901,
|
254
|
-
"sender_type": "
|
254
|
+
"sender_type": "corporation",
|
255
255
|
"timestamp": "2019-11-20 22:02:00",
|
256
256
|
"text": "solarsystemID: 30002537\nstructureID: &id001 1000000000001\nstructureShowInfoData:\n- showinfo\n- 35832\n- *id001\nstructureTypeID: 35832\n",
|
257
257
|
"is_read": false
|
@@ -736,6 +736,76 @@
|
|
736
736
|
"is_read": false,
|
737
737
|
"is_sent": false
|
738
738
|
},
|
739
|
+
{
|
740
|
+
"notification_id": 1000001201,
|
741
|
+
"type": "SkyhookUnderAttack",
|
742
|
+
"sender_id": 2901,
|
743
|
+
"sender_type": "corporation",
|
744
|
+
"timestamp": "2019-11-18 20:00:00",
|
745
|
+
"text": "allianceID: 3011\nallianceLinkData:\n- showinfo\n- 16159\n- 3011\nallianceName: Big Bad Alliance\narmorPercentage: 99.97623738812345\ncharID: 1011\ncorpLinkData:\n- showinfo\n- 2\n- 2011\ncorpName: Bad Company\nhullPercentage: 100.0\nisActive: true\nitemID: &id001 1000000010001\nplanetID: 40161469\nplanetShowInfoData:\n- showinfo\n- 2016\n- 40161469\nshieldPercentage: 1.6855855838775617e-09\nskyhookShowInfoData:\n- showinfo\n- 81080\n- *id001\nsolarsystemID: 30002537\ntypeID: 81080",
|
746
|
+
"is_read": false,
|
747
|
+
"is_sent": false
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"notification_id": 1000001202,
|
751
|
+
"type": "SkyhookLostShields",
|
752
|
+
"sender_id": 2901,
|
753
|
+
"sender_type": "corporation",
|
754
|
+
"timestamp": "2019-11-18 20:00:00",
|
755
|
+
"text": "itemID: &id001 1000000010001\nplanetID: 40161469\nplanetShowInfoData:\n- showinfo\n- 2016\n- 40161469\nskyhookShowInfoData:\n- showinfo\n- 81080\n- *id001\nsolarsystemID: 30002537\ntimeLeft: 1378460630068\ntimestamp: 133661870440000000\ntypeID: 81080\nvulnerableTime: 9000000000",
|
756
|
+
"is_read": false,
|
757
|
+
"is_sent": false
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"notification_id": 1000001203,
|
761
|
+
"type": "SkyhookDestroyed",
|
762
|
+
"sender_id": 2901,
|
763
|
+
"sender_type": "corporation",
|
764
|
+
"timestamp": "2019-11-18 20:00:00",
|
765
|
+
"text": "itemID: &id001 1000000010001\nplanetID: 40161469\nplanetShowInfoData:\n- showinfo\n- 2016\n- 40161469\nskyhookShowInfoData:\n- showinfo\n- 81080\n- *id001\nsolarsystemID: 30002537\ntypeID: 81080",
|
766
|
+
"is_read": false,
|
767
|
+
"is_sent": false
|
768
|
+
},
|
769
|
+
{
|
770
|
+
"notification_id": 1000001204,
|
771
|
+
"type": "SkyhookDeployed",
|
772
|
+
"sender_id": 2901,
|
773
|
+
"sender_type": "corporation",
|
774
|
+
"timestamp": "2019-11-18 20:00:00",
|
775
|
+
"text": "itemID: &id002 1000000010001\nownerCorpLinkData:\n- showinfo\n- 2\n- 2001\nownerCorpName: Good Company\nplanetID: &id001 40161469\nplanetShowInfoData:\n- showinfo\n- 2016\n- *id001\nskyhookShowInfoData:\n- showinfo\n- 81080\n- *id002\nsolarsystemID: 30002537\ntimeLeft: 18000000000\ntypeID: 81080",
|
776
|
+
"is_read": false,
|
777
|
+
"is_sent": false
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"notification_id": 1000001205,
|
781
|
+
"type": "SkyhookOnline",
|
782
|
+
"sender_id": 2901,
|
783
|
+
"sender_type": "corporation",
|
784
|
+
"timestamp": "2019-11-18 20:00:00",
|
785
|
+
"text": "itemID: &id002 1000000010001\nplanetID: &id001 40161469\nplanetShowInfoData:\n- showinfo\n- 2016\n- *id001\nskyhookShowInfoData:\n- showinfo\n- 81080\n- *id002\nsolarsystemID: 30002537\ntypeID: 81080",
|
786
|
+
"is_read": false,
|
787
|
+
"is_sent": false
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"notification_id": 1000001301,
|
791
|
+
"type": "StructureLowReagentsAlert",
|
792
|
+
"sender_id": 2901,
|
793
|
+
"sender_type": "corporation",
|
794
|
+
"timestamp": "2019-11-18 20:00:00",
|
795
|
+
"text": "solarsystemID: 30002537\nstructureID: &id001 1000000000001\nstructureShowInfoData:\n- showinfo\n- 81826\n- *id001\nstructureTypeID: 81826",
|
796
|
+
"is_read": false,
|
797
|
+
"is_sent": false
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"notification_id": 1000001302,
|
801
|
+
"type": "StructureNoReagentsAlert",
|
802
|
+
"sender_id": 2901,
|
803
|
+
"sender_type": "corporation",
|
804
|
+
"timestamp": "2019-11-18 20:00:00",
|
805
|
+
"text": "solarsystemID: 30002537\nstructureID: &id001 1000000000001\nstructureShowInfoData:\n- showinfo\n- 81826\n- *id001\nstructureTypeID: 81826",
|
806
|
+
"is_read": false,
|
807
|
+
"is_sent": false
|
808
|
+
},
|
739
809
|
{
|
740
810
|
"notification_id": 1999999999,
|
741
811
|
"type": "UnknownNotificationType",
|