syntax = "proto3";

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

// MESSAGE_ID_KICK_OUT
enum KickOutID {
  KICK_OUT_ID_INVALID = 0;
  KICK_OUT_ID_DUPLICATE_LOGIN = 1; // 重复登录
  KICK_OUT_ID_SERVER_BUSY = 2; // 服务器繁忙
  KICK_OUT_ID_SERVER_CLOSE = 3; // 服务器关闭
  KICK_OUT_ID_QUEUE_UP_FULL = 4; // 排队上限
  KICK_OUT_ID_TOKEN_INVALID = 5; // Token无效
}
message S2C_KickOut {
  KickOutID ID = 1;
}

// MESSAGE_ID_QUEUE_UP
message S2C_QueueUp {
  int32 QueueUpCount = 1; // 排队人数
}

// MESSAGE_ID_LOGIN_SUCCESS
message S2C_LoginSuccess {
  int32 InstanceID = 1; // 副本ID
}