7f1646f25d
- Endurance plugin - map class nbCheckpoints - added script callbacks registration
28 lines
465 B
Plaintext
28 lines
465 B
Plaintext
|
|
main() {
|
|
+++OnInit+++
|
|
while (True) {
|
|
yield;
|
|
foreach (Event in PendingEvents) {
|
|
switch (Event.Type) {
|
|
case CMlEvent::Type::EntrySubmit: {
|
|
+++EntrySubmit+++
|
|
}
|
|
case CMlEvent::Type::KeyPress: {
|
|
+++KeyPress+++
|
|
}
|
|
case CMlEvent::Type::MouseClick: {
|
|
+++MouseClick+++
|
|
}
|
|
case CMlEvent::Type::MouseOut: {
|
|
+++MouseOut+++
|
|
}
|
|
case CMlEvent::Type::MouseOver: {
|
|
+++MouseOver+++
|
|
}
|
|
}
|
|
}
|
|
+++Loop+++
|
|
}
|
|
}
|