feat 初始化

This commit is contained in:
2026-10-28 21:49:26 +08:00
parent 447705f98b
commit c0ceb4331b
40 changed files with 11262 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
syntax = "proto3";
option go_package = "git.hlsq.asia/alex/proto/proto/ss/sspb";
option csharp_namespace = "common_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_PING = 4; // Ping
MESSAGE_ID_PONG = 5; // Pong
MESSAGE_ID_JOIN_CHANNEL = 101; // 加入频道
MESSAGE_ID_LEAVE_CHANNEL = 102; // 离开频道
}
message Message {
MessageID ID = 1;
bytes Payload = 2;
}