-
Notifications
You must be signed in to change notification settings - Fork 40
/
constants.php
81 lines (73 loc) · 4.3 KB
/
constants.php
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
<?php
// Paths.
define('PORTAL_IMAGES_PATH', IMAGES_PATH . '/gyms');
// raid level constants
define('RAID_LEVEL_ALL', '654321');
// Value used for denoting anytime attendance
define('ANYTIME', '1970-01-01 00:00:00');
define('ANYTIME_TS', preg_replace("/[^0-9]/", "", ANYTIME));
// Ex-raid event ID
defined('EVENT_ID_EX') or define('EVENT_ID_EX', '999');
// Icons.
defined('TEAM_B') or define('TEAM_B', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F499)));
defined('TEAM_R') or define('TEAM_R', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2764)));
defined('TEAM_Y') or define('TEAM_Y', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F49B)));
defined('TEAM_CANCEL') or define('TEAM_CANCEL', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F494)));
defined('TEAM_DONE') or define('TEAM_DONE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F4AA)));
defined('TEAM_UNKNOWN') or define('TEAM_UNKNOWN', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F680)));
defined('EMOJI_REFRESH') or define('EMOJI_REFRESH', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F504)));
defined('EMOJI_HERE') or define('EMOJI_HERE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F4CD)));
defined('EMOJI_LATE') or define('EMOJI_LATE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F40C)));
defined('EMOJI_REMOTE') or define('EMOJI_REMOTE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F3E0)));
defined('EMOJI_SINGLE') or define('EMOJI_SINGLE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F464)));
defined('EMOJI_GROUP') or define('EMOJI_GROUP', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F465)));
defined('EMOJI_STAR') or define('EMOJI_STAR', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2B50)));
defined('EMOJI_INVITE') or define('EMOJI_INVITE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2709)));
defined('EMOJI_INFO') or define('EMOJI_INFO', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2139)));
defined('EMOJI_EGG') or define('EMOJI_EGG', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F95A)));
defined('EMOJI_CLOCK') or define('EMOJI_CLOCK', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F551)));
defined('EMOJI_CAMERA') or define('EMOJI_CAMERA', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F4F7)));
defined('EMOJI_ALARM') or define('EMOJI_ALARM', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F514)));
defined('EMOJI_NO_ALARM') or define('EMOJI_NO_ALARM',iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F515)));
defined('EMOJI_FRIEND') or define('EMOJI_FRIEND', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F91D)));
defined('EMOJI_WANT_INVITE')or define('EMOJI_WANT_INVITE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F4E5)));
defined('EMOJI_IN_PERSON') or define('EMOJI_IN_PERSON', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F9E1)));
defined('EMOJI_ALIEN') or define('EMOJI_ALIEN', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F47D)));
defined('EMOJI_CAN_INVITE')or define('EMOJI_CAN_INVITE', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F695)));
// Weather Icons.
defined('EMOJI_W_SUNNY') or define('EMOJI_W_SUNNY', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2600)));
defined('EMOJI_W_CLEAR') or define('EMOJI_W_CLEAR', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2728)));
defined('EMOJI_W_RAIN') or define('EMOJI_W_RAIN', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F327)));
defined('EMOJI_W_PARTLY_CLOUDY') or define('EMOJI_W_PARTLY_CLOUDY', iconv('UCS-4LE', 'UTF-8', pack('V', 0x26C5)));
defined('EMOJI_W_CLOUDY') or define('EMOJI_W_CLOUDY', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2601)));
defined('EMOJI_W_WINDY') or define('EMOJI_W_WINDY', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F32C)));
defined('EMOJI_W_SNOW') or define('EMOJI_W_SNOW', iconv('UCS-4LE', 'UTF-8', pack('V', 0x2744)));
defined('EMOJI_W_FOG') or define('EMOJI_W_FOG', iconv('UCS-4LE', 'UTF-8', pack('V', 0x1F301)));
// Weather.
$weather = array(
'1' => EMOJI_W_SUNNY,
'2' => EMOJI_W_CLEAR,
'3' => EMOJI_W_RAIN,
'4' => EMOJI_W_PARTLY_CLOUDY,
'5' => EMOJI_W_CLOUDY,
'6' => EMOJI_W_WINDY,
'7' => EMOJI_W_SNOW,
'8' => EMOJI_W_FOG
);
// Teams.
$teams = array(
'mystic' => TEAM_B,
'valor' => TEAM_R,
'instinct' => TEAM_Y,
'unknown' => TEAM_UNKNOWN,
'cancel' => TEAM_CANCEL
);
// Raid eggs.
$eggs = array(
'9996', // Level 6 / Mega
'9995', // Level 5
'9994', // Level 4
'9993', // Level 3
'9992', // Level 2
'9991' // Level 1
);