mirror of https://github.com/quasar/Quasar.git
25 lines
496 B
C#
25 lines
496 B
C#
using ProtoBuf;
|
|
using Quasar.Common.Enums;
|
|
|
|
namespace Quasar.Common.Messages
|
|
{
|
|
[ProtoContract]
|
|
public class DoMouseEvent : IMessage
|
|
{
|
|
[ProtoMember(1)]
|
|
public MouseAction Action { get; set; }
|
|
|
|
[ProtoMember(2)]
|
|
public bool IsMouseDown { get; set; }
|
|
|
|
[ProtoMember(3)]
|
|
public int X { get; set; }
|
|
|
|
[ProtoMember(4)]
|
|
public int Y { get; set; }
|
|
|
|
[ProtoMember(5)]
|
|
public int MonitorIndex { get; set; }
|
|
}
|
|
}
|