feat 网关鉴权

This commit is contained in:
2025-12-22 18:04:36 +08:00
parent 69cc960fe5
commit 670140e7d3
68 changed files with 1424 additions and 492 deletions

View File

@@ -10,7 +10,7 @@ service Scene {
}
message EnterReq {
int32 UID = 1; // 用户ID
int64 USN = 1; // 用户ID
int64 GatewaySID = 2; // 网关服务ID
int32 InstanceID = 3; // 副本ID
}
@@ -23,7 +23,7 @@ message EnterResp {
}
message LeaveReq {
int32 UID = 1; // 用户ID
int64 USN = 1; // 用户ID
int64 GatewaySID = 2; // 网关服务ID
int32 InstanceID = 3; // 副本ID
int64 UniqueNo = 4; // 副本唯一编号
@@ -34,7 +34,7 @@ message LeaveResp {
message ActionReq {
int64 UniqueNo = 1; // 副本唯一编号
int32 UID = 2; // 用户ID
int64 USN = 2; // 用户ID
int32 Action = 3; // 指令ID
sint32 DirX = 4; // 移动-X方向×1000 缩放)
sint32 DirY = 5; // 移动-Y方向×1000 缩放)