示例#1
0
 public static void Invoke(string pulseId, IPulsableObject data, ModManifest dispatchingMod)
 {
     if (Listeners.GetInvocationList().Length > 0)
     {
         Listeners(null, new PulseEventArgs(pulseId, dispatchingMod, data));
     }
 }
 public PulseEventArgs(string pulseId, ModManifest dispatcher, IPulsableObject data)
 {
     PulseId    = pulseId;
     Dispatcher = dispatcher;
     Data       = data;
 }