Robotmon
  • Robotmon
  • 使用說明
  • 官方腳本
    • 薑餅人王國外掛腳本自動玩
    • POPCAT 台灣爭光
    • TsumTsum 全自動玩、自動收心送心
    • 三麗鷗明星的微笑小鎮 Hello Sweet Days
    • 天堂M外掛 無課救星
    • EZRobot簡易腳本製作
    • YouTube自動刷瀏覽
    • 徵求維護
      • Marvel自動玩外掛
      • 無盡的邊疆自動玩外掛
      • 楓之谷M 自動任務/練等
  • 教學文件
    • 手機快速上手
      • a.開啟手機 USB 偵錯
      • b.安裝手機 ADB 驅動
    • 模擬器快速上手
    • 安裝 SimpleManager
    • 啟動 Robotmon Service
    • App 使用教學
  • 進階使用教學
    • 手動啟動 Robotmon Service
    • Develop Guide
    • Robotmon v2 Beta Testing
  • Robotmon 障礙排除
  • 腳本教學
    • 安裝VSCode編輯器插件
    • Robotmon VSCode 插件功能
    • API Documents
      • JavaScript Events
      • JavaScript Interface
      • JavaScript Raw APIs
      • RBM library APIs
      • gRPC APIs
  • XRobotmon
  • 支援手機列表
    • 確定支援裝置
    • 可能支援手機
  • 隱私權政策
  • Robotmon Messenger
  • Robotmon Announcement
  • Robotmon Store
Powered by GitBook
On this page
  1. 腳本教學
  2. API Documents

gRPC APIs

Link with Robotmon Service

Protobuf Message

message Empty {}

message Response {
  string message = 1;
}

message RequestRunScript {
  string script = 1;
}

message RequestScreenshot {
  int32 cropX = 1;
  int32 cropY = 2;
  int32 cropWidth = 3;
  int32 cropHeight = 4;
  int32 resizeWidth = 5;
  int32 resizeHeight = 6;
  int32 quality = 7;
}

message RequestTap {
  int32 x = 1;
  int32 y = 2;
  int32 during = 3;
}

message ResponseScreenshot {
  bytes image = 1;
}

message ResponseScreenSize {
  int32 width = 1;
  int32 height = 2;
}

Service

service GrpcService {
  rpc RunScript(RequestRunScript) returns (Response) {}
  rpc Logs(Empty) returns (stream Response) {}
  rpc GetScreenshot(RequestScreenshot) returns (ResponseScreenshot) {}
  rpc GetScreenSize(Empty) returns (ResponseScreenSize) {}
  rpc Tap(RequestTap) returns (Response) {}
  rpc TapDown(RequestTap) returns (Response) {}
  rpc TapUp(RequestTap) returns (Response) {}
  rpc MoveTo(RequestTap) returns (Response) {}
}
PreviousRBM library APIsNextXRobotmon

Last updated 7 years ago