Thread
:
Right way of gameevents
View Single Post
psychonic
BAFFLED
Join Date: May 2008
12-02-2016 , 12:32 Re: Right way of gameevents
#
2
The simplest and most common method is to just make your plugin class, the ZombiePlague instance in this case, a listener. In the callback, check the event name and then do or call your logic for each that you want to handle.
Like this,
https://github.com/psychonic/d2fixup...ixups.cpp#L290
Last edited by psychonic; 12-02-2016 at
12:32
.
psychonic
View Public Profile
Send a private message to psychonic
Visit psychonic's homepage!
Find More Posts by psychonic