forked from CyberTech/EVEBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEVECallback.iss
More file actions
45 lines (40 loc) · 828 Bytes
/
EVECallback.iss
File metadata and controls
45 lines (40 loc) · 828 Bytes
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
/* EveCallback.iss - Contain the callback for the eve sessions for detecting a crash. */
/* Global instance of obj_EveCallback for the callback. */
variable(global) obj_EveCallback EVECallback
#define DEBUG TRUE
/* Main entry point. */
function main(... Params)
{
if DEBUG
{
echo "EveCallback Loaded"
}
while TRUE
{
waitframe
}
}
objectdef obj_EveCallback
{
/* Do nothing to initialize. */
method Initialize()
{
}
/* Do the callback. Relay the function call to the uplink,
which will have a global atom for the check. */
method DoCallback()
{
if ${ISXEVE.Version} > 0
{
if DEBUG
{
echo "EveCallback.iss: Relaying \"uplink EVEWatcher:Update[${Session},${Me.Name}]\""
}
uplink EVEWatcher:Update[${Session},${Me.Name}]
}
else
{
echo "EveCallback.iss: EVE not detected."
}
}
}