12345678910111213141516171819202122232425 |
- syntax = "proto3";
- package protos;
- import "userinfo.proto";
- import "result.proto";
- message ChatNotify {
- uint32 Type = 1; // 0=世界;1=大厅;2=队伍;3=派对;4=好友(私聊)
- uint64 Target = 2; // 对象id, 对应Type字段的世界id,roomid partyid, 好友id
- string Msg = 3; // 消息正文, 客户端自行编码解码
- }
- message ChatPush {
- uint32 Type = 1; // 0=世界;1=大厅;2=队伍;3=派对;4=好友(私聊)
- uint64 Target = 2; // 对象id, 对应Type字段的世界id,roomid partyid, 好友id
- string Msg = 3; // 消息正文, 客户端自行编码解码
- UserInfo Sender = 4;
- }
- message SwitchWorldRequest {
- uint32 WorldID = 1;
- }
- message SwitchWorldResponse {
- Result Result = 1;
- }
|