Hey guys!
I’m trying to figure out why I’m not seeing this event get fired. Using the example code from the Wiki located here, I’m not seeing the console output anywhere.
Here’s the code in my server.net.dll: (same in client.net.dll)
public class Main : BaseScript
{
public Main()
{
EventHandlers["gameEventTriggered"] += new Action<string, List<dynamic>>(OnGameEventTriggered);
}
/*/ SERVER EVENTS /*/
private void OnGameEventTriggered(string name, List<dynamic> args)
{
Debug.WriteLine("EVENT TRIGGERED: [" + name + "]");
}
}
TL;DR: Trying to catch and print out the events being fired but, alas, the console shows nothing.
I’m just toying around with this event right now, so all I really need is to see which events are being fired. Just figured maybe there’s something I’m not catching that you all might be able to see.
Any help is greatly appreciated!
EDIT:
I’ve attempted to use this on the client side as well, and it still hasn’t worked.