Пример #1
0
 public PluginMethodReturnValueType Shell(MouseSetCursorPositionArgs args)
 {
     var result = MouseUtil.SetCursorPosition(args.X, args.Y);
     return new PluginMethodReturnValueType()
     {
         DataType    = PluginMethodReturnValueType.StringDataType,
         Data        = JsonConvert.SerializeObject(result),
     };
 }
Пример #2
0
 public string Shell(MouseSetCursorPositionArgs args)
 {
     var result = MouseUtil.SetCursorPosition(args.X, args.Y);
     return JsonConvert.SerializeObject(result);
 }
Пример #3
0
 public static string MakeMouseSetCursorPositionCommand(int x, int y)
 {
     var args = new MouseSetCursorPositionArgs()
     {
         X = x,
         Y = y,
     };
     var argsSerialize = JsonConvert.SerializeObject(args);
     return PluginCommandSerializeMaker.MakeCommand(InnerPluginName, "MouseSetCursorPosition", argsSerialize);
 }