EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Calendar.h
Go to the documentation of this file.
1 
2 // -allan 7Jul14 UD 30Oct20
3 
4 
5 #ifndef EVE_CALENDAR_H
6 #define EVE_CALENDAR_H
7 
8 namespace Calendar {
9  namespace Day {
10  enum {
11  Monday = 0,
12  Tuesday = 1,
13  Wednesday = 2,
14  Thursday = 3,
15  Friday = 4,
16  Saturday = 5,
17  Sunday = 6,
19  };
20  }
21  namespace Month {
22  enum {
23  January = 1,
24  February = 2,
25  March = 3,
26  April = 4,
27  May = 5,
28  June = 6,
29  July = 7,
30  August = 8,
31  September = 9,
32  October = 10,
33  November = 11,
34  December = 12
35  };
36  }
37 
38  namespace Flag {
39  enum {
40  Invalid = 0,
41  Personal = 1,
42  Corp = 2,
43  Alliance = 4,
44  CCP = 8, // for system events (not sure what constitutes this yet)
45  Automated = 16, // for AutoEvents
46  };
47  }
48 
49  namespace Response {
50  enum {
51  Uninvited = 0,
52  Deleted = 1,
53  Declined = 2,
54  Undecided = 3,
55  Accepted = 4,
56  Maybe = 5
57  };
58  }
59 
60  namespace AutoEvent {
61  enum {
62  PosFuel = 1,
63  RAMJob = 2 // client patch to show 'automated' tag
64  };
65  }
66 
67  enum {
72  MaxDescrSize = 500,
73  StartYear = 2003,
74  };
75 }
76 
77 
78 /* (client patch by allan)
79  * def GetEventFlag(self, ownerID, autoEventType = None):
80  * if autoEventType is not None:
81  * return const.calendarTagAutomated
82  * if ownerID == session.corpid:
83  * return const.calendarTagCorp
84  * elif ownerID == session.allianceid:
85  * return const.calendarTagAlliance
86  * elif ownerID == const.ownerSystem:
87  * return const.calendarTagCCP
88  * else:
89  * return const.calendarTagPersonal
90  */
91 
92 
93 #endif // EVE_CALENDAR_H
Definition: EVE_Corp.h:15