mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-23 14:32:27 +08:00
格式化代码
This commit is contained in:
@@ -2,230 +2,230 @@ syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
import "server_only/bin_common.server.proto";
|
||||
import "server_only/enum.server.proto";
|
||||
import "server_only/redis_data.proto";
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "server_only/bin_common.server.proto";
|
||||
import "server_only/redis_data.proto";
|
||||
import "server_only/enum.server.proto";
|
||||
|
||||
message AddRedisMailReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10372;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10372;
|
||||
}
|
||||
|
||||
MailAddOpType op_type = 1;
|
||||
MailBin mail_bin = 2;
|
||||
string ticket = 3;
|
||||
string transaction = 4;
|
||||
MailAddOpType op_type = 1;
|
||||
MailBin mail_bin = 2;
|
||||
string ticket = 3;
|
||||
string transaction = 4;
|
||||
}
|
||||
|
||||
message AddRedisMailRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10398;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10398;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
MailAddOpType op_type = 2;
|
||||
string ticket = 3;
|
||||
string transaction = 4;
|
||||
int32 retcode = 1;
|
||||
MailAddOpType op_type = 2;
|
||||
string ticket = 3;
|
||||
string transaction = 4;
|
||||
}
|
||||
|
||||
message DelRedisMailReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10312;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10312;
|
||||
}
|
||||
|
||||
MailDelOpType op_type = 1;
|
||||
repeated uint32 mail_id_list = 2;
|
||||
repeated string ticket_list = 3;
|
||||
MailDelOpType op_type = 1;
|
||||
repeated uint32 mail_id_list = 2;
|
||||
repeated string ticket_list = 3;
|
||||
}
|
||||
|
||||
message DelRedisMailRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10335;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10335;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
MailDelOpType op_type = 2;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
int32 retcode = 1;
|
||||
MailDelOpType op_type = 2;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
}
|
||||
|
||||
message GetRedisMailReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10307;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10307;
|
||||
}
|
||||
|
||||
MailGetOPType op_type = 1;
|
||||
MailGetType get_type = 2;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
bool is_collectible_mail_transfered = 4;
|
||||
MailGetOPType op_type = 1;
|
||||
MailGetType get_type = 2;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
bool is_collectible_mail_transfered = 4;
|
||||
}
|
||||
|
||||
message GetRedisMailRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10321;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10321;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
repeated bytes mail_str_list = 2;
|
||||
MailGetOPType op_type = 3;
|
||||
bool is_truncated = 4;
|
||||
MailGetType get_type = 5;
|
||||
bool is_collectible_mail_transfered = 6;
|
||||
string transaction = 7;
|
||||
uint32 page_index = 8;
|
||||
uint32 total_page_count = 9;
|
||||
int32 retcode = 1;
|
||||
repeated bytes mail_str_list = 2;
|
||||
MailGetOPType op_type = 3;
|
||||
bool is_truncated = 4;
|
||||
MailGetType get_type = 5;
|
||||
bool is_collectible_mail_transfered = 6;
|
||||
string transaction = 7;
|
||||
uint32 page_index = 8;
|
||||
uint32 total_page_count = 9;
|
||||
}
|
||||
|
||||
message RedisMailChangeNotify {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10303;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10303;
|
||||
}
|
||||
|
||||
repeated MailRedisData update_mail_list = 1;
|
||||
repeated uint32 del_mail_id_list = 2;
|
||||
repeated MailRedisData update_mail_list = 1;
|
||||
repeated uint32 del_mail_id_list = 2;
|
||||
}
|
||||
|
||||
message SendOfflineMsgReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10390;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10390;
|
||||
}
|
||||
|
||||
OfflineMsgBin msg = 1;
|
||||
OfflineMsgBin msg = 1;
|
||||
}
|
||||
|
||||
message SendOfflineMsgRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10373;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10373;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
string ticket = 2;
|
||||
int32 retcode = 1;
|
||||
string ticket = 2;
|
||||
}
|
||||
|
||||
message NewOfflineMsgNotify {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10399;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10399;
|
||||
}
|
||||
}
|
||||
|
||||
message GetOfflineMsgReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10331;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10331;
|
||||
}
|
||||
|
||||
uint32 index = 1;
|
||||
bool is_login = 2;
|
||||
uint32 index = 1;
|
||||
bool is_login = 2;
|
||||
}
|
||||
|
||||
message GetOfflineMsgRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10375;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10375;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 last_index = 2;
|
||||
repeated OfflineMsgBin offline_msg_list = 3;
|
||||
bool is_login = 4;
|
||||
int32 retcode = 1;
|
||||
uint32 last_index = 2;
|
||||
repeated OfflineMsgBin offline_msg_list = 3;
|
||||
bool is_login = 4;
|
||||
}
|
||||
|
||||
message RemoveOfflineMsgNotify {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10348;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10348;
|
||||
}
|
||||
|
||||
uint32 index = 1;
|
||||
uint32 index = 1;
|
||||
}
|
||||
|
||||
message ClearOfflineMsgNotify {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10397;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10397;
|
||||
}
|
||||
}
|
||||
|
||||
message UpdateRedisMailReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10381;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10381;
|
||||
}
|
||||
|
||||
MailUpdateOpType op_type = 1;
|
||||
repeated uint32 mail_id_list = 2;
|
||||
MailUpdateOpType op_type = 1;
|
||||
repeated uint32 mail_id_list = 2;
|
||||
}
|
||||
|
||||
message UpdateRedisMailRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10305;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10305;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
MailUpdateOpType op_type = 2;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
int32 retcode = 1;
|
||||
MailUpdateOpType op_type = 2;
|
||||
repeated uint32 mail_id_list = 3;
|
||||
}
|
||||
|
||||
message GetRedisMailTransactionStatusReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10382;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10382;
|
||||
}
|
||||
|
||||
repeated string transaction_list = 2;
|
||||
repeated string transaction_list = 2;
|
||||
}
|
||||
|
||||
message GetRedisMailTransactionStatusRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10347;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10347;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
map<string, bool> transaction_status_map = 2;
|
||||
int32 retcode = 1;
|
||||
map<string, bool> transaction_status_map = 2;
|
||||
}
|
||||
|
||||
message ClearUpRedisMailNotify {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10339;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10339;
|
||||
}
|
||||
}
|
||||
|
||||
message CleanRedisMailNotify {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10353;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10353;
|
||||
}
|
||||
}
|
||||
|
||||
message ResendRedisMailReq {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10322;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10322;
|
||||
}
|
||||
|
||||
map<string, MailBin> mail_bin_map = 1;
|
||||
map<string, MailBin> mail_bin_map = 1;
|
||||
}
|
||||
|
||||
message ResendRedisMailRsp {
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10365;
|
||||
}
|
||||
enum CmdId {
|
||||
NONE = 0;
|
||||
CMD_ID = 10365;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
map<string, bool> resend_status_map = 2;
|
||||
int32 retcode = 1;
|
||||
map<string, bool> resend_status_map = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user