EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_LSC.h
Go to the documentation of this file.
1 
2 
3 /*
4  *
5  * LSC stands for Large Scale Chat
6  *
7  *
8  * CHTMODE_CREATOR = 8 + 4 + 2 + 1
9  * CHTMODE_OPERATOR = 4 + 2 + 1
10  * CHTMODE_CONVERSATIONALIST = 2 + 1
11  * CHTMODE_SPEAKER = 2
12  * CHTMODE_LISTENER = 1
13  * CHTMODE_NOTSPECIFIED = -1
14  * CHTMODE_DISALLOWED = -2
15  *
16  * CHTERR_NOSUCHCHANNEL = -3
17  * CHTERR_ACCESSDENIED = -4
18  * CHTERR_INCORRECTPASSWORD = -5
19  * CHTERR_ALREADYEXISTS = -6
20  * CHTERR_TOOMANYCHANNELS = -7
21  *
22  * CHT_MAX_USERS_PER_IMMEDIATE_CHANNEL = 50
23  * CHT_MAX_INPUT = 253
24  *
25  *
26  * 'rookieHelpChannel': 1,
27  * 'helpChannelEN': 2,
28  * 'helpChannelDE': 40,
29  * 'helpChannelRU': 55,
30  * 'helpChannelJA': 56
31  *
32  */
33 
34 /*
35  * service.ROLE_CHTADMINISTRATOR | service.ROLE_GMH
36  * CHTMODE_CREATOR = (((8 + 4) + 2) + 1)
37  * CHTMODE_OPERATOR = ((4 + 2) + 1)
38  * CHTMODE_CONVERSATIONALIST = (2 + 1)
39  * CHTMODE_SPEAKER = 2
40  * CHTMODE_LISTENER = 1
41  * CHTMODE_NOTSPECIFIED = -1
42  * CHTMODE_DISALLOWED = -2
43  * CHTERR_NOSUCHCHANNEL = -3
44  * CHTERR_ACCESSDENIED = -4
45  * CHTERR_INCORRECTPASSWORD = -5
46  * CHTERR_ALREADYEXISTS = -6
47  * CHTERR_TOOMANYCHANNELS = -7
48  * CHT_MAX_USERS_PER_IMMEDIATE_CHANNEL = 50
49  *
50  * CHANNEL_CUSTOM = 0
51  * CHANNEL_GANG = 3
52  *
53  *
54  */
55 namespace LSC {
56 /*
57  for colorkey, color, intCol in [(service.ROLE_QA, '0xff0099ff', LtoI(4278229503L)),
58  (service.ROLE_WORLDMOD, '0xffac75ff', LtoI(4289492479L)),
59  (service.ROLE_GMH, '0xffee6666', LtoI(4293813862L)),
60  (service.ROLE_GML, '0xffffff20', LtoI(4294967072L)),
61  (service.ROLE_CENTURION, '0xff00ff00', LtoI(4278255360L)),
62  (service.ROLE_LEGIONEER, '0xff00ffcc', LtoI(4278255564L)),
63  (service.ROLE_ADMIN, '0xffee6666', LtoI(4293813862L))]:
64  if role & colorkey == colorkey:
65  return [color, intCol][asInt]
66 
67  return ['0xffe0e0e0', LtoI(4292927712L)][asInt]
68  */
69 
70  // type designations are internal-use only (client works on strings)
71  enum Type{
72  global = 1, // send channelID as tuple(id, desc) uses full memberlist, never memberless
73  corp = 2, // send channelID as tuple(id, desc) uses full memberlist, never memberless
74  region = 3, // send channelID as tuple(id, desc) uses full memberlist, never memberless, not used in w-space
75  constellation = 4, // send channelID as tuple(id, desc) uses full memberlist, never memberless, not used in w-space
76  solarsystem = 5, // send channelID as tuple(id, desc) used in w-space, memberless, changes chat window title from "Local" to "System"
77  solarsystem2 = 6, // send channelID as tuple(id, desc) uses full memberlist, never memberless, not used in w-space (k-space "Local" channel)
78  // end of static channels
79  character = 7, // for mailing lists using channelID = charID
80  // begin dynamic channels
81  alliance = 8,
82  fleet = 9,
83  wing = 10,
84  squad = 11,
85  warfaction = 12,
86  incursion = 13,
87  normal = 14, // trial accts arent time buffered (channelID > 2100000000)
88  custom = 15 // invite only. channelID < 0
89  };
90 
91  enum Mode {
94  chNone = 0,
96  chSpeaker = 2,
99  chCreator = 15
100  };
101 
102  enum Error {
110  };
111 
112 } // namespace LSC
113 
114 /* groupMessageIDs and descriptions
115  * 1 = Passive
116  * 2 = Aggressive
117  * 3 = Focus Fire
118  *
119  * 263235 = Corporate
120  * 263238 = Help
121  * 263329 = Factions
122  * 263240 = Trade
123  * 263331 = Science and Industry
124  * 263328 = Content
125  *
126  */
127 
128 namespace Notifications {
129  /*
130 securityLevelDescriptions = {-10: 'Notifications/SecurityStatus/SecurityDescription_-10',
131  -9: 'Notifications/SecurityStatus/SecurityDescription_-9',
132  -8: 'Notifications/SecurityStatus/SecurityDescription_-8',
133  -7: 'Notifications/SecurityStatus/SecurityDescription_-7',
134  -6: 'Notifications/SecurityStatus/SecurityDescription_-6',
135  -5: 'Notifications/SecurityStatus/SecurityDescription_-5',
136  -4: 'Notifications/SecurityStatus/SecurityDescription_-4',
137  -3: 'Notifications/SecurityStatus/SecurityDescription_-3',
138  -2: 'Notifications/SecurityStatus/SecurityDescription_-2',
139  -1: 'Notifications/SecurityStatus/SecurityDescription_-1',
140  0: 'Notifications/SecurityStatus/SecurityDescription_0',
141  1: 'Notifications/SecurityStatus/SecurityDescription_1',
142  2: 'Notifications/SecurityStatus/SecurityDescription_2',
143  3: 'Notifications/SecurityStatus/SecurityDescription_3',
144  4: 'Notifications/SecurityStatus/SecurityDescription_4',
145  5: 'Notifications/SecurityStatus/SecurityDescription_5',
146  6: 'Notifications/SecurityStatus/SecurityDescription_6',
147  7: 'Notifications/SecurityStatus/SecurityDescription_7',
148  8: 'Notifications/SecurityStatus/SecurityDescription_8',
149  9: 'Notifications/SecurityStatus/SecurityDescription_9',
150  10: 'Notifications/SecurityStatus/SecurityDescription_10'}
151 rankLost = {const.factionCaldariState: 'UI/FactionWarfare/Ranks/RankLostCaldari',
152  const.factionMinmatarRepublic: 'UI/FactionWarfare/Ranks/RankLostMinmatar',
153  const.factionAmarrEmpire: 'UI/FactionWarfare/Ranks/RankLostAmarr',
154  const.factionGallenteFederation: 'UI/FactionWarfare/Ranks/RankLostGallente'}
155 rankGain = {const.factionCaldariState: 'UI/FactionWarfare/Ranks/RankGainCaldari',
156  const.factionMinmatarRepublic: 'UI/FactionWarfare/Ranks/RankGainMinmatar',
157  const.factionAmarrEmpire: 'UI/FactionWarfare/Ranks/RankGainAmarr',
158  const.factionGallenteFederation: 'UI/FactionWarfare/Ranks/RankGainGallente'}
159 notificationTypes = {'notificationTypeOldLscMessages': 1,
160  'notificationTypeCharTerminationMsg': 2,
161  'notificationTypeCharMedalMsg': 3,
162  'notificationTypeAllMaintenanceBillMsg': 4,
163  'notificationTypeAllWarDeclaredMsg': 5,
164  'notificationTypeAllWarSurrenderMsg': 6,
165  'notificationTypeAllWarRetractedMsg': 7,
166  'notificationTypeAllWarInvalidatedMsg': 8,
167  'notificationTypeCharBillMsg': 9,
168  'notificationTypeCorpAllBillMsg': 10,
169  'notificationTypeBillOutOfMoneyMsg': 11,
170  'notificationTypeBillPaidCharMsg': 12,
171  'notificationTypeBillPaidCorpAllMsg': 13,
172  'notificationTypeBountyClaimMsg': 14,
173  'notificationTypeCloneActivationMsg': 15,
174  'notificationTypeCorpAppNewMsg': 16,
175  'notificationTypeCorpAppRejectMsg': 17,
176  'notificationTypeCorpAppAcceptMsg': 18,
177  'notificationTypeCorpTaxChangeMsg': 19,
178  'notificationTypeCorpNewsMsg': 20,
179  'notificationTypeCharLeftCorpMsg': 21,
180  'notificationTypeCorpNewCEOMsg': 22,
181  'notificationTypeCorpDividendMsg': 23,
182  'notificationTypeCorpVoteMsg': 25,
183  'notificationTypeCorpVoteCEORevokedMsg': 26,
184  'notificationTypeCorpWarDeclaredMsg': 27,
185  'notificationTypeCorpWarFightingLegalMsg': 28,
186  'notificationTypeCorpWarSurrenderMsg': 29,
187  'notificationTypeCorpWarRetractedMsg': 30,
188  'notificationTypeCorpWarInvalidatedMsg': 31,
189  'notificationTypeContainerPasswordMsg': 32,
190  'notificationTypeCustomsMsg': 33,
191  'notificationTypeInsuranceFirstShipMsg': 34,
192  'notificationTypeInsurancePayoutMsg': 35,
193  'notificationTypeInsuranceInvalidatedMsg': 36,
194  'notificationTypeSovAllClaimFailMsg': 37,
195  'notificationTypeSovCorpClaimFailMsg': 38,
196  'notificationTypeSovAllBillLateMsg': 39,
197  'notificationTypeSovCorpBillLateMsg': 40,
198  'notificationTypeSovAllClaimLostMsg': 41,
199  'notificationTypeSovCorpClaimLostMsg': 42,
200  'notificationTypeSovAllClaimAquiredMsg': 43,
201  'notificationTypeSovCorpClaimAquiredMsg': 44,
202  'notificationTypeAllAnchoringMsg': 45,
203  'notificationTypeAllStructVulnerableMsg': 46,
204  'notificationTypeAllStrucInvulnerableMsg': 47,
205  'notificationTypeSovDisruptorMsg': 48,
206  'notificationTypeCorpStructLostMsg': 49,
207  'notificationTypeCorpOfficeExpirationMsg': 50,
208  'notificationTypeCloneRevokedMsg1': 51,
209  'notificationTypeCloneMovedMsg': 52,
210  'notificationTypeCloneRevokedMsg2': 53,
211  'notificationTypeInsuranceExpirationMsg': 54,
212  'notificationTypeInsuranceIssuedMsg': 55,
213  'notificationTypeJumpCloneDeletedMsg1': 56,
214  'notificationTypeJumpCloneDeletedMsg2': 57,
215  'notificationTypeFWCorpJoinMsg': 58,
216  'notificationTypeFWCorpLeaveMsg': 59,
217  'notificationTypeFWCorpKickMsg': 60,
218  'notificationTypeFWCharKickMsg': 61,
219  'notificationTypeFWCorpWarningMsg': 62,
220  'notificationTypeFWCharWarningMsg': 63,
221  'notificationTypeFWCharRankLossMsg': 64,
222  'notificationTypeFWCharRankGainMsg': 65,
223  'notificationTypeAgentMoveMsg': 66,
224  'notificationTypeTransactionReversalMsg': 67,
225  'notificationTypeReimbursementMsg': 68,
226  'notificationTypeLocateCharMsg': 69,
227  'notificationTypeResearchMissionAvailableMsg': 70,
228  'notificationTypeMissionOfferExpirationMsg': 71,
229  'notificationTypeMissionTimeoutMsg': 72,
230  'notificationTypeStoryLineMissionAvailableMsg': 73,
231  'notificationTypeTutorialMsg': 74,
232  'notificationTypeTowerAlertMsg': 75,
233  'notificationTypeTowerResourceAlertMsg': 76,
234  'notificationTypeStationAggressionMsg1': 77,
235  'notificationTypeStationStateChangeMsg': 78,
236  'notificationTypeStationConquerMsg': 79,
237  'notificationTypeStationAggressionMsg2': 80,
238  'notificationTypeFacWarCorpJoinRequestMsg': 81,
239  'notificationTypeFacWarCorpLeaveRequestMsg': 82,
240  'notificationTypeFacWarCorpJoinWithdrawMsg': 83,
241  'notificationTypeFacWarCorpLeaveWithdrawMsg': 84,
242  'notificationTypeCorpLiquidationMsg': 85,
243  'notificationTypeSovereigntyTCUDamageMsg': 86,
244  'notificationTypeSovereigntySBUDamageMsg': 87,
245  'notificationTypeSovereigntyIHDamageMsg': 88,
246  'notificationTypeContactAdd': 89,
247  'notificationTypeContactEdit': 90,
248  'notificationTypeIncursionCompletedMsg': 91,
249  'notificationTypeCorpKicked': 92,
250  'notificationTypeOrbitalAttacked': 93,
251  'notificationTypeOrbitalReinforced': 94,
252  'notificationTypeOwnershipTransferred': 95,
253  'notificationTypeFWAllianceWarningMsg': 96,
254  'notificationTypeFWAllianceKickMsg': 97}
255 notifyIDs = util.KeyVal(notificationTypes)
256 groupUnread = 0
257 groupAgents = 1
258 groupBills = 2
259 groupCorp = 3
260 groupMisc = 4
261 groupOld = 5
262 groupSov = 6
263 groupStructures = 7
264 groupWar = 8
265 groupContacts = 9
266 groupTypes = {groupAgents: [notifyIDs.notificationTypeAgentMoveMsg,
267  notifyIDs.notificationTypeLocateCharMsg,
268  notifyIDs.notificationTypeResearchMissionAvailableMsg,
269  notifyIDs.notificationTypeMissionOfferExpirationMsg,
270  notifyIDs.notificationTypeMissionTimeoutMsg,
271  notifyIDs.notificationTypeStoryLineMissionAvailableMsg,
272  notifyIDs.notificationTypeTutorialMsg],
273  groupBills: [notifyIDs.notificationTypeAllMaintenanceBillMsg,
274  notifyIDs.notificationTypeCharBillMsg,
275  notifyIDs.notificationTypeCorpAllBillMsg,
276  notifyIDs.notificationTypeBillOutOfMoneyMsg,
277  notifyIDs.notificationTypeBillPaidCharMsg,
278  notifyIDs.notificationTypeBillPaidCorpAllMsg,
279  notifyIDs.notificationTypeCorpOfficeExpirationMsg],
280  groupContacts: [notifyIDs.notificationTypeContactAdd, notifyIDs.notificationTypeContactEdit],
281  groupCorp: [notifyIDs.notificationTypeCharTerminationMsg,
282  notifyIDs.notificationTypeCharMedalMsg,
283  notifyIDs.notificationTypeCorpAppNewMsg,
284  notifyIDs.notificationTypeCorpAppRejectMsg,
285  notifyIDs.notificationTypeCorpAppAcceptMsg,
286  notifyIDs.notificationTypeCorpTaxChangeMsg,
287  notifyIDs.notificationTypeCorpNewsMsg,
288  notifyIDs.notificationTypeCharLeftCorpMsg,
289  notifyIDs.notificationTypeCorpNewCEOMsg,
290  notifyIDs.notificationTypeCorpDividendMsg,
291  notifyIDs.notificationTypeCorpVoteMsg,
292  notifyIDs.notificationTypeCorpVoteCEORevokedMsg,
293  notifyIDs.notificationTypeCorpLiquidationMsg,
294  notifyIDs.notificationTypeCorpKicked],
295  groupMisc: [notifyIDs.notificationTypeBountyClaimMsg,
296  notifyIDs.notificationTypeCloneActivationMsg,
297  notifyIDs.notificationTypeContainerPasswordMsg,
298  notifyIDs.notificationTypeCustomsMsg,
299  notifyIDs.notificationTypeInsuranceFirstShipMsg,
300  notifyIDs.notificationTypeInsurancePayoutMsg,
301  notifyIDs.notificationTypeInsuranceInvalidatedMsg,
302  notifyIDs.notificationTypeCloneRevokedMsg1,
303  notifyIDs.notificationTypeCloneMovedMsg,
304  notifyIDs.notificationTypeCloneRevokedMsg2,
305  notifyIDs.notificationTypeInsuranceExpirationMsg,
306  notifyIDs.notificationTypeInsuranceIssuedMsg,
307  notifyIDs.notificationTypeJumpCloneDeletedMsg1,
308  notifyIDs.notificationTypeJumpCloneDeletedMsg2,
309  notifyIDs.notificationTypeTransactionReversalMsg,
310  notifyIDs.notificationTypeReimbursementMsg,
311  notifyIDs.notificationTypeIncursionCompletedMsg],
312  groupOld: [notifyIDs.notificationTypeOldLscMessages],
313  groupSov: [notifyIDs.notificationTypeSovAllClaimFailMsg,
314  notifyIDs.notificationTypeSovCorpClaimFailMsg,
315  notifyIDs.notificationTypeSovAllBillLateMsg,
316  notifyIDs.notificationTypeSovCorpBillLateMsg,
317  notifyIDs.notificationTypeSovAllClaimLostMsg,
318  notifyIDs.notificationTypeSovCorpClaimLostMsg,
319  notifyIDs.notificationTypeSovAllClaimAquiredMsg,
320  notifyIDs.notificationTypeSovCorpClaimAquiredMsg,
321  notifyIDs.notificationTypeSovDisruptorMsg,
322  notifyIDs.notificationTypeAllStructVulnerableMsg,
323  notifyIDs.notificationTypeAllStrucInvulnerableMsg,
324  notifyIDs.notificationTypeSovereigntyTCUDamageMsg,
325  notifyIDs.notificationTypeSovereigntySBUDamageMsg,
326  notifyIDs.notificationTypeSovereigntyIHDamageMsg],
327  groupStructures: [notifyIDs.notificationTypeAllAnchoringMsg,
328  notifyIDs.notificationTypeCorpStructLostMsg,
329  notifyIDs.notificationTypeTowerAlertMsg,
330  notifyIDs.notificationTypeTowerResourceAlertMsg,
331  notifyIDs.notificationTypeStationAggressionMsg1,
332  notifyIDs.notificationTypeStationStateChangeMsg,
333  notifyIDs.notificationTypeStationConquerMsg,
334  notifyIDs.notificationTypeStationAggressionMsg2,
335  notifyIDs.notificationTypeOrbitalAttacked,
336  notifyIDs.notificationTypeOrbitalReinforced,
337  notifyIDs.notificationTypeOwnershipTransferred],
338  groupWar: [notifyIDs.notificationTypeAllWarDeclaredMsg,
339  notifyIDs.notificationTypeAllWarSurrenderMsg,
340  notifyIDs.notificationTypeAllWarRetractedMsg,
341  notifyIDs.notificationTypeAllWarInvalidatedMsg,
342  notifyIDs.notificationTypeCorpWarDeclaredMsg,
343  notifyIDs.notificationTypeCorpWarFightingLegalMsg,
344  notifyIDs.notificationTypeCorpWarSurrenderMsg,
345  notifyIDs.notificationTypeCorpWarRetractedMsg,
346  notifyIDs.notificationTypeCorpWarInvalidatedMsg,
347  notifyIDs.notificationTypeFWCorpJoinMsg,
348  notifyIDs.notificationTypeFWCorpLeaveMsg,
349  notifyIDs.notificationTypeFWCorpKickMsg,
350  notifyIDs.notificationTypeFWCharKickMsg,
351  notifyIDs.notificationTypeFWCorpWarningMsg,
352  notifyIDs.notificationTypeFWCharWarningMsg,
353  notifyIDs.notificationTypeFWCharRankLossMsg,
354  notifyIDs.notificationTypeFWCharRankGainMsg,
355  notifyIDs.notificationTypeFacWarCorpJoinRequestMsg,
356  notifyIDs.notificationTypeFacWarCorpLeaveRequestMsg,
357  notifyIDs.notificationTypeFacWarCorpJoinWithdrawMsg,
358  notifyIDs.notificationTypeFacWarCorpLeaveWithdrawMsg,
359  notifyIDs.notificationTypeFWAllianceWarningMsg,
360  notifyIDs.notificationTypeFWAllianceKickMsg]}
361  */
362 } // namespace Notifications
Definition: EVE_LSC.h:55
Error
Definition: EVE_LSC.h:102
Type
Definition: EVE_LSC.h:71
Mode
Definition: EVE_LSC.h:91