Skip to content

Commit cd7b799

Browse files
committed
Oops. Forgot the events file.
1 parent 9cb9529 commit cd7b799

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

sc2reader/engine/events.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# -*- coding: utf-8 -*-
2+
from __future__ import absolute_import, print_function, unicode_literals, division
3+
4+
5+
class InitGameEvent(object):
6+
name = 'InitGame'
7+
8+
9+
class EndGameEvent(object):
10+
name = 'EndGame'
11+
12+
13+
class PluginExit(object):
14+
name = 'PluginExit'
15+
16+
def __init__(self, plugin, code=0, details=None):
17+
self.plugin = plugin
18+
self.code = code
19+
self.details = details or {}

0 commit comments

Comments
 (0)