-
Notifications
You must be signed in to change notification settings - Fork 0
Home
devicenull edited this page Sep 13, 2010
·
4 revisions
This is a python daemon that listens to UDP log events from Half Life 1 or Half Life 2 and does stuff with them.
The code layout looks something like this:
- input/* – Input methods, currently udp.py (uses Twisted) is the only one that’s really supported. file.py is there, but may or may not work.
- events/* – Event handlers, these are responsible for matching and parsing all log events that come through. They are loaded dynamically at runtime.
- plugins/* – Plugins, these are responsible for actually doing things with the events. They can register themselves as handlers for various events
- eventhandler.py – This is the core of the program right here, this is responsible for actually calling the events/plugins.