feat 修改usn类型为string
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "common/proto/ss/grpc_pb";
|
||||
option go_package = "git.hlsq.asia/mmorpg/service-common/proto/ss/grpc_pb";
|
||||
import "ss_common.proto";
|
||||
|
||||
service Scene {
|
||||
@@ -10,29 +10,29 @@ service Scene {
|
||||
}
|
||||
|
||||
message EnterReq {
|
||||
int64 USN = 1; // 用户ID
|
||||
int64 GatewaySID = 2; // 网关服务ID
|
||||
string USN = 1; // 用户ID
|
||||
string GatewaySID = 2; // 网关服务ID
|
||||
int32 InstanceID = 3; // 副本ID
|
||||
}
|
||||
|
||||
message EnterResp {
|
||||
int64 SceneSID = 1; // 场景服务ID
|
||||
int64 UniqueNo = 2; // 副本唯一编号
|
||||
string SceneSID = 1; // 场景服务ID
|
||||
string UniqueNo = 2; // 副本唯一编号
|
||||
int32 MessageID = 3; // 发送给客户端的消息ID
|
||||
bytes Payload = 4; // 消息负载
|
||||
}
|
||||
|
||||
message LeaveReq {
|
||||
int64 USN = 1; // 用户ID
|
||||
int64 UniqueNo = 2; // 副本唯一编号
|
||||
string USN = 1; // 用户ID
|
||||
string UniqueNo = 2; // 副本唯一编号
|
||||
}
|
||||
|
||||
message LeaveResp {
|
||||
}
|
||||
|
||||
message ActionReq {
|
||||
int64 UniqueNo = 1; // 副本唯一编号
|
||||
int64 USN = 2; // 用户ID
|
||||
string UniqueNo = 1; // 副本唯一编号
|
||||
string USN = 2; // 用户ID
|
||||
int32 Action = 3; // 指令ID
|
||||
sint32 DirX = 4; // 移动-X方向(×1000 缩放)
|
||||
sint32 DirY = 5; // 移动-Y方向(×1000 缩放)
|
||||
|
||||
Reference in New Issue
Block a user