Пример #1
0
 /// <summary>
 /// Invokes the EmitMessage event handler.
 /// Required to allow events to be raised for this device from the lower levels.
 /// </summary>
 /// <param name="aMsg">The message to emit from the device</param>
 protected void EmitMessage(ButtplugMessage aMsg)
 {
     MessageEmitted?.Invoke(this, new MessageReceivedEventArgs(aMsg));
 }
 public MessageReceivedEventArgs(ButtplugMessage aMessage)
 {
     Message = aMessage;
 }