mirror of
https://git.xeondev.com/LR/S.git
synced 2026-02-04 06:55:06 +01:00
Release 0.1.0
This commit is contained in:
52
proto/pb/cs_sns.proto
Normal file
52
proto/pb/cs_sns.proto
Normal file
@@ -0,0 +1,52 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
option go_package = "/csproto";
|
||||
|
||||
enum SNS_GET_TYPE {
|
||||
All = 0;
|
||||
Moment = 1;
|
||||
Chat = 2;
|
||||
}
|
||||
message SNS_CHAT_INFO {
|
||||
string chat_id = 1;
|
||||
int32 member_num = 2;
|
||||
int32 signature_id = 3;
|
||||
int64 last_dialog_ts = 4;
|
||||
}
|
||||
message SNS_DIALOG_INFO {
|
||||
string dialog_id = 1;
|
||||
int64 timestamp = 2;
|
||||
int32 cur_content_id = 3;
|
||||
repeated int32 options = 4;
|
||||
int64 finish_timestamp = 5;
|
||||
bool is_unread = 6;
|
||||
}
|
||||
message CS_SNS_GET_LIST {
|
||||
SNS_GET_TYPE sns_type = 1;
|
||||
}
|
||||
message SC_SNS_GET_CHAT_LIST {
|
||||
repeated SNS_CHAT_INFO chat_list = 1;
|
||||
repeated SNS_DIALOG_INFO dialog_list = 2;
|
||||
}
|
||||
message SC_SYNC_SNS_CHAT_MODIFY {
|
||||
SNS_CHAT_INFO chat_info = 1;
|
||||
}
|
||||
message CS_SNS_CHAT_DIALOG_JUMP {
|
||||
string dialog_id = 1;
|
||||
int32 cur_content_id = 2;
|
||||
int32 next_content_id = 3;
|
||||
bool is_set_option = 4;
|
||||
int32 option = 5;
|
||||
}
|
||||
message SC_SYNC_SNS_DIALOG_MODIFY {
|
||||
SNS_CHAT_INFO chat_info = 1;
|
||||
SNS_DIALOG_INFO dialog_info = 2;
|
||||
bool is_set_option = 3;
|
||||
}
|
||||
message CS_SNS_FINISH_DIALOG {
|
||||
string dialog_id = 1;
|
||||
}
|
||||
message CS_SNS_READ_DIALOG {
|
||||
repeated string dialog_ids = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user