This repository has been archived on 2026-01-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Game/Public/Proto/ServerClient/sources/service.proto

27 lines
637 B
Protocol Buffer

syntax = "proto3";
option go_package = "common/proto/sc/sc_pb";
import "sc_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
}