syntax = "proto3";

option go_package = "common/proto/gen/cs";
import "common.proto";

enum MessageID {
  MESSAGE_ID_INVALID = 0;
  MESSAGE_ID_ENTER_INSTANCE = 1; // 进入副本
  MESSAGE_ID_ACTION = 2; // 指令
  MESSAGE_ID_POSITION = 3; // 位置更新
}

message Message {
  MessageID ID = 1;
  bytes Payload = 2;
}