syntax = "proto3";

option go_package = "git.hlsq.asia/mmorpg/service-common/proto/ss/ss_pb";
import "ss_common.proto";

enum MessageID {
  MESSAGE_ID_INVALID = 0;
  MESSAGE_ID_KICK_OUT = 1; // 服务器踢人
  MESSAGE_ID_QUEUE_UP = 2; // 排队中
  MESSAGE_ID_LOGIN_SUCCESS = 3; // 登录成功
  MESSAGE_ID_ENTER_INSTANCE = 101; // 进入副本
  MESSAGE_ID_ACTION = 102; // 指令
  MESSAGE_ID_POSITION = 103; // 位置更新
}

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