Пример #1
0
 public static string MakeMouseClickCommand(ButtonTag tag, uint x, uint y)
 {
     var args = new MouseClickArgs()
     {
         Tag = tag,
         X   = x,
         Y   = y,
     };
     var argsSerialize = JsonConvert.SerializeObject(args);
     return PluginCommandSerializeMaker.MakeCommand(InnerPluginName, "MouseClick", argsSerialize);
 }
Пример #2
0
 public PluginMethodReturnValueType Shell(MouseClickArgs args)
 {
     MouseUtil.MouseClick(args.Tag, args.X, args.Y);
     return PluginMethodReturnValueType.NoReturnValueType;
 }
Пример #3
0
 public string Shell(MouseClickArgs args)
 {
     MouseUtil.MouseClick(args.Tag, args.X, args.Y);
     return null;
 }