EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Mail.h
Go to the documentation of this file.
1 
2 
3 #ifndef EVE_MAIL_H
4 #define EVE_MAIL_H
5 
13 };
14 
21 };
22 
23 
24 #define mailingListBlocked 0
25 #define mailingListAllowed 1
26 #define mailingListMemberMuted 0
27 #define mailingListMemberDefault 1
28 #define mailingListMemberOperator 2
29 #define mailingListMemberOwner 3
30 
31 
32 #define mailMaxRecipients 50
33 #define mailMaxGroups 1
34 #define mailMaxSubjectSize 150
35 #define mailMaxBodySize 8000
36 #define mailMaxTaggedBodySize 10000
37 #define mailMaxLabelSize 40
38 #define mailMaxNumLabels 25
39 #define mailMaxPerPage 100
40 #define mailTrialAccountTimer 1
41 #define mailMaxMessagePerMinute 5
42 #define mailinglistMaxMembers 3000
43 #define mailinglistMaxMembersUpdated 1000
44 #define mailingListMaxNameSize 60
45 
46 
47 // Notification data, as Notifications are part of mail system.
48 
50  SecDesc_n10 = -10,
51  SecDesc_n9 = -9,
52  SecDesc_n8 = -8,
53  SecDesc_n7 = -7,
54  SecDesc_n6 = -6,
55  SecDesc_n5 = -5,
56  SecDesc_n4 = -4,
57  SecDesc_n3 = -3,
58  SecDesc_n2 = -2,
59  SecDesc_n1 = -1,
60  SecDesc_0 = 0,
61  SecDesc_1 = 1,
62  SecDesc_2 = 2,
63  SecDesc_3 = 3,
64  SecDesc_4 = 4,
65  SecDesc_5 = 5,
66  SecDesc_6 = 6,
67  SecDesc_7 = 7,
68  SecDesc_8 = 8,
69  SecDesc_9 = 9,
71 };
72 
73 namespace Notify {
74 
75  namespace Groups {
76  enum {
77  Unread = 0,
78  Agents = 1,
79  Bills = 2,
80  Corp = 3,
81  Misc = 4,
82  Old = 5,
83  Sov = 6,
85  War = 8,
87  };
88  }
89 
90  namespace Types {
91  // these are types for mail msgs.
92  enum {
95  CharMedal = 3,
101  CharBill = 9,
112  CorpNews = 20,
116  CorpVote = 25,
124  Customs = 33,
157  AgentMove = 66,
165  Tutorial = 74,
189 
190  // these are internal corp Notifications to allow switching for various events
191  MarketOrder = 125, // since this updates same corp group, is used for all market order updates
195  FactoryJob = 129 // factory jobs now have config option to add event to calendar. this updates corp members
196  };
197  }
198 }
199 
200 /*
201 securityLevelDescriptions = {-10: 'Notifications/SecurityStatus/SecurityDescription_-10',
202  -9: 'Notifications/SecurityStatus/SecurityDescription_-9',
203  -8: 'Notifications/SecurityStatus/SecurityDescription_-8',
204  -7: 'Notifications/SecurityStatus/SecurityDescription_-7',
205  -6: 'Notifications/SecurityStatus/SecurityDescription_-6',
206  -5: 'Notifications/SecurityStatus/SecurityDescription_-5',
207  -4: 'Notifications/SecurityStatus/SecurityDescription_-4',
208  -3: 'Notifications/SecurityStatus/SecurityDescription_-3',
209  -2: 'Notifications/SecurityStatus/SecurityDescription_-2',
210  -1: 'Notifications/SecurityStatus/SecurityDescription_-1',
211  0: 'Notifications/SecurityStatus/SecurityDescription_0',
212  1: 'Notifications/SecurityStatus/SecurityDescription_1',
213  2: 'Notifications/SecurityStatus/SecurityDescription_2',
214  3: 'Notifications/SecurityStatus/SecurityDescription_3',
215  4: 'Notifications/SecurityStatus/SecurityDescription_4',
216  5: 'Notifications/SecurityStatus/SecurityDescription_5',
217  6: 'Notifications/SecurityStatus/SecurityDescription_6',
218  7: 'Notifications/SecurityStatus/SecurityDescription_7',
219  8: 'Notifications/SecurityStatus/SecurityDescription_8',
220  9: 'Notifications/SecurityStatus/SecurityDescription_9',
221  10: 'Notifications/SecurityStatus/SecurityDescription_10'}
222 rankLost = {const.factionCaldariState: 'UI/FactionWarfare/Ranks/RankLostCaldari',
223  const.factionMinmatarRepublic: 'UI/FactionWarfare/Ranks/RankLostMinmatar',
224  const.factionAmarrEmpire: 'UI/FactionWarfare/Ranks/RankLostAmarr',
225  const.factionGallenteFederation: 'UI/FactionWarfare/Ranks/RankLostGallente'}
226 rankGain = {const.factionCaldariState: 'UI/FactionWarfare/Ranks/RankGainCaldari',
227  const.factionMinmatarRepublic: 'UI/FactionWarfare/Ranks/RankGainMinmatar',
228  const.factionAmarrEmpire: 'UI/FactionWarfare/Ranks/RankGainAmarr',
229  const.factionGallenteFederation: 'UI/FactionWarfare/Ranks/RankGainGallente'}
230 notificationTypes = {'notificationTypeOldLscMessages': 1,
231  'notificationTypeCharTerminationMsg': 2,
232  'notificationTypeCharMedalMsg': 3,
233  'notificationTypeAllMaintenanceBillMsg': 4,
234  'notificationTypeAllWarDeclaredMsg': 5,
235  'notificationTypeAllWarSurrenderMsg': 6,
236  'notificationTypeAllWarRetractedMsg': 7,
237  'notificationTypeAllWarInvalidatedMsg': 8,
238  'notificationTypeCharBillMsg': 9,
239  'notificationTypeCorpAllBillMsg': 10,
240  'notificationTypeBillOutOfMoneyMsg': 11,
241  'notificationTypeBillPaidCharMsg': 12,
242  'notificationTypeBillPaidCorpAllMsg': 13,
243  'notificationTypeBountyClaimMsg': 14,
244  'notificationTypeCloneActivationMsg': 15,
245  'notificationTypeCorpAppNewMsg': 16,
246  'notificationTypeCorpAppRejectMsg': 17,
247  'notificationTypeCorpAppAcceptMsg': 18,
248  'notificationTypeCorpTaxChangeMsg': 19,
249  'notificationTypeCorpNewsMsg': 20,
250  'notificationTypeCharLeftCorpMsg': 21,
251  'notificationTypeCorpNewCEOMsg': 22,
252  'notificationTypeCorpDividendMsg': 23,
253  'notificationTypeCorpVoteMsg': 25,
254  'notificationTypeCorpVoteCEORevokedMsg': 26,
255  'notificationTypeCorpWarDeclaredMsg': 27,
256  'notificationTypeCorpWarFightingLegalMsg': 28,
257  'notificationTypeCorpWarSurrenderMsg': 29,
258  'notificationTypeCorpWarRetractedMsg': 30,
259  'notificationTypeCorpWarInvalidatedMsg': 31,
260  'notificationTypeContainerPasswordMsg': 32,
261  'notificationTypeCustomsMsg': 33,
262  'notificationTypeInsuranceFirstShipMsg': 34,
263  'notificationTypeInsurancePayoutMsg': 35,
264  'notificationTypeInsuranceInvalidatedMsg': 36,
265  'notificationTypeSovAllClaimFailMsg': 37,
266  'notificationTypeSovCorpClaimFailMsg': 38,
267  'notificationTypeSovAllBillLateMsg': 39,
268  'notificationTypeSovCorpBillLateMsg': 40,
269  'notificationTypeSovAllClaimLostMsg': 41,
270  'notificationTypeSovCorpClaimLostMsg': 42,
271  'notificationTypeSovAllClaimAquiredMsg': 43,
272  'notificationTypeSovCorpClaimAquiredMsg': 44,
273  'notificationTypeAllAnchoringMsg': 45,
274  'notificationTypeAllStructVulnerableMsg': 46,
275  'notificationTypeAllStrucInvulnerableMsg': 47,
276  'notificationTypeSovDisruptorMsg': 48,
277  'notificationTypeCorpStructLostMsg': 49,
278  'notificationTypeCorpOfficeExpirationMsg': 50,
279  'notificationTypeCloneRevokedMsg1': 51,
280  'notificationTypeCloneMovedMsg': 52,
281  'notificationTypeCloneRevokedMsg2': 53,
282  'notificationTypeInsuranceExpirationMsg': 54,
283  'notificationTypeInsuranceIssuedMsg': 55,
284  'notificationTypeJumpCloneDeletedMsg1': 56,
285  'notificationTypeJumpCloneDeletedMsg2': 57,
286  'notificationTypeFWCorpJoinMsg': 58,
287  'notificationTypeFWCorpLeaveMsg': 59,
288  'notificationTypeFWCorpKickMsg': 60,
289  'notificationTypeFWCharKickMsg': 61,
290  'notificationTypeFWCorpWarningMsg': 62,
291  'notificationTypeFWCharWarningMsg': 63,
292  'notificationTypeFWCharRankLossMsg': 64,
293  'notificationTypeFWCharRankGainMsg': 65,
294  'notificationTypeAgentMoveMsg': 66,
295  'notificationTypeTransactionReversalMsg': 67,
296  'notificationTypeReimbursementMsg': 68,
297  'notificationTypeLocateCharMsg': 69,
298  'notificationTypeResearchMissionAvailableMsg': 70,
299  'notificationTypeMissionOfferExpirationMsg': 71,
300  'notificationTypeMissionTimeoutMsg': 72,
301  'notificationTypeStoryLineMissionAvailableMsg': 73,
302  'notificationTypeTutorialMsg': 74,
303  'notificationTypeTowerAlertMsg': 75,
304  'notificationTypeTowerResourceAlertMsg': 76,
305  'notificationTypeStationAggressionMsg1': 77,
306  'notificationTypeStationStateChangeMsg': 78,
307  'notificationTypeStationConquerMsg': 79,
308  'notificationTypeStationAggressionMsg2': 80,
309  'notificationTypeFacWarCorpJoinRequestMsg': 81,
310  'notificationTypeFacWarCorpLeaveRequestMsg': 82,
311  'notificationTypeFacWarCorpJoinWithdrawMsg': 83,
312  'notificationTypeFacWarCorpLeaveWithdrawMsg': 84,
313  'notificationTypeCorpLiquidationMsg': 85,
314  'notificationTypeSovereigntyTCUDamageMsg': 86,
315  'notificationTypeSovereigntySBUDamageMsg': 87,
316  'notificationTypeSovereigntyIHDamageMsg': 88,
317  'notificationTypeContactAdd': 89,
318  'notificationTypeContactEdit': 90,
319  'notificationTypeIncursionCompletedMsg': 91,
320  'notificationTypeCorpKicked': 92,
321  'notificationTypeOrbitalAttacked': 93,
322  'notificationTypeOrbitalReinforced': 94,
323  'notificationTypeOwnershipTransferred': 95,
324  'notificationTypeFWAllianceWarningMsg': 96,
325  'notificationTypeFWAllianceKickMsg': 97}
326 notifyIDs = util.KeyVal(notificationTypes)
327 groupUnread = 0
328 groupAgents = 1
329 groupBills = 2
330 groupCorp = 3
331 groupMisc = 4
332 groupOld = 5
333 groupSov = 6
334 groupStructures = 7
335 groupWar = 8
336 groupContacts = 9
337 groupTypes = {groupAgents: [notifyIDs.notificationTypeAgentMoveMsg,
338  notifyIDs.notificationTypeLocateCharMsg,
339  notifyIDs.notificationTypeResearchMissionAvailableMsg,
340  notifyIDs.notificationTypeMissionOfferExpirationMsg,
341  notifyIDs.notificationTypeMissionTimeoutMsg,
342  notifyIDs.notificationTypeStoryLineMissionAvailableMsg,
343  notifyIDs.notificationTypeTutorialMsg],
344  groupBills: [notifyIDs.notificationTypeAllMaintenanceBillMsg,
345  notifyIDs.notificationTypeCharBillMsg,
346  notifyIDs.notificationTypeCorpAllBillMsg,
347  notifyIDs.notificationTypeBillOutOfMoneyMsg,
348  notifyIDs.notificationTypeBillPaidCharMsg,
349  notifyIDs.notificationTypeBillPaidCorpAllMsg,
350  notifyIDs.notificationTypeCorpOfficeExpirationMsg],
351  groupContacts: [notifyIDs.notificationTypeContactAdd, notifyIDs.notificationTypeContactEdit],
352  groupCorp: [notifyIDs.notificationTypeCharTerminationMsg,
353  notifyIDs.notificationTypeCharMedalMsg,
354  notifyIDs.notificationTypeCorpAppNewMsg,
355  notifyIDs.notificationTypeCorpAppRejectMsg,
356  notifyIDs.notificationTypeCorpAppAcceptMsg,
357  notifyIDs.notificationTypeCorpTaxChangeMsg,
358  notifyIDs.notificationTypeCorpNewsMsg,
359  notifyIDs.notificationTypeCharLeftCorpMsg,
360  notifyIDs.notificationTypeCorpNewCEOMsg,
361  notifyIDs.notificationTypeCorpDividendMsg,
362  notifyIDs.notificationTypeCorpVoteMsg,
363  notifyIDs.notificationTypeCorpVoteCEORevokedMsg,
364  notifyIDs.notificationTypeCorpLiquidationMsg,
365  notifyIDs.notificationTypeCorpKicked],
366  groupMisc: [notifyIDs.notificationTypeBountyClaimMsg,
367  notifyIDs.notificationTypeCloneActivationMsg,
368  notifyIDs.notificationTypeContainerPasswordMsg,
369  notifyIDs.notificationTypeCustomsMsg,
370  notifyIDs.notificationTypeInsuranceFirstShipMsg,
371  notifyIDs.notificationTypeInsurancePayoutMsg,
372  notifyIDs.notificationTypeInsuranceInvalidatedMsg,
373  notifyIDs.notificationTypeCloneRevokedMsg1,
374  notifyIDs.notificationTypeCloneMovedMsg,
375  notifyIDs.notificationTypeCloneRevokedMsg2,
376  notifyIDs.notificationTypeInsuranceExpirationMsg,
377  notifyIDs.notificationTypeInsuranceIssuedMsg,
378  notifyIDs.notificationTypeJumpCloneDeletedMsg1,
379  notifyIDs.notificationTypeJumpCloneDeletedMsg2,
380  notifyIDs.notificationTypeTransactionReversalMsg,
381  notifyIDs.notificationTypeReimbursementMsg,
382  notifyIDs.notificationTypeIncursionCompletedMsg],
383  groupOld: [notifyIDs.notificationTypeOldLscMessages],
384  groupSov: [notifyIDs.notificationTypeSovAllClaimFailMsg,
385  notifyIDs.notificationTypeSovCorpClaimFailMsg,
386  notifyIDs.notificationTypeSovAllBillLateMsg,
387  notifyIDs.notificationTypeSovCorpBillLateMsg,
388  notifyIDs.notificationTypeSovAllClaimLostMsg,
389  notifyIDs.notificationTypeSovCorpClaimLostMsg,
390  notifyIDs.notificationTypeSovAllClaimAquiredMsg,
391  notifyIDs.notificationTypeSovCorpClaimAquiredMsg,
392  notifyIDs.notificationTypeSovDisruptorMsg,
393  notifyIDs.notificationTypeAllStructVulnerableMsg,
394  notifyIDs.notificationTypeAllStrucInvulnerableMsg,
395  notifyIDs.notificationTypeSovereigntyTCUDamageMsg,
396  notifyIDs.notificationTypeSovereigntySBUDamageMsg,
397  notifyIDs.notificationTypeSovereigntyIHDamageMsg],
398  groupStructures: [notifyIDs.notificationTypeAllAnchoringMsg,
399  notifyIDs.notificationTypeCorpStructLostMsg,
400  notifyIDs.notificationTypeTowerAlertMsg,
401  notifyIDs.notificationTypeTowerResourceAlertMsg,
402  notifyIDs.notificationTypeStationAggressionMsg1,
403  notifyIDs.notificationTypeStationStateChangeMsg,
404  notifyIDs.notificationTypeStationConquerMsg,
405  notifyIDs.notificationTypeStationAggressionMsg2,
406  notifyIDs.notificationTypeOrbitalAttacked,
407  notifyIDs.notificationTypeOrbitalReinforced,
408  notifyIDs.notificationTypeOwnershipTransferred],
409  groupWar: [notifyIDs.notificationTypeAllWarDeclaredMsg,
410  notifyIDs.notificationTypeAllWarSurrenderMsg,
411  notifyIDs.notificationTypeAllWarRetractedMsg,
412  notifyIDs.notificationTypeAllWarInvalidatedMsg,
413  notifyIDs.notificationTypeCorpWarDeclaredMsg,
414  notifyIDs.notificationTypeCorpWarFightingLegalMsg,
415  notifyIDs.notificationTypeCorpWarSurrenderMsg,
416  notifyIDs.notificationTypeCorpWarRetractedMsg,
417  notifyIDs.notificationTypeCorpWarInvalidatedMsg,
418  notifyIDs.notificationTypeFWCorpJoinMsg,
419  notifyIDs.notificationTypeFWCorpLeaveMsg,
420  notifyIDs.notificationTypeFWCorpKickMsg,
421  notifyIDs.notificationTypeFWCharKickMsg,
422  notifyIDs.notificationTypeFWCorpWarningMsg,
423  notifyIDs.notificationTypeFWCharWarningMsg,
424  notifyIDs.notificationTypeFWCharRankLossMsg,
425  notifyIDs.notificationTypeFWCharRankGainMsg,
426  notifyIDs.notificationTypeFacWarCorpJoinRequestMsg,
427  notifyIDs.notificationTypeFacWarCorpLeaveRequestMsg,
428  notifyIDs.notificationTypeFacWarCorpJoinWithdrawMsg,
429  notifyIDs.notificationTypeFacWarCorpLeaveWithdrawMsg,
430  notifyIDs.notificationTypeFWAllianceWarningMsg,
431  notifyIDs.notificationTypeFWAllianceKickMsg]}
432  */
433 
434 #endif
mailLabelMask
Definition: EVE_Mail.h:15
Definition: EVE_Corp.h:15
MailStatusMask
Definition: EVE_Mail.h:6
NotificationSecLevelDecsriptions
Definition: EVE_Mail.h:49