123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- syntax = "proto3";
- import "MsgStruct.proto";
- import "CombatDataStruct.proto";
- package com.fort23.protocol.protobuf;
- // option java_outer_classname = "MsgNotify";
- // option java_multiple_files = true;
- /* 公共频道信息通知 */
- message PublicWordsNotify
- {
- // 公共频道ID
- int32 publicId = 1;
- // 发言信息
- SpeakWords words = 2;
- }
- /* 公会频道信息通知 */
- message GuildWordsNotify
- {
- // 公会ID
- int32 guildId = 1;
- // 发言信息
- SpeakWords words = 2;
- }
- /* 队伍房间频道信息通知 */
- message RoomWordsNotify
- {
- // 房间ID
- int32 roomId = 1;
- // 发言信息
- SpeakWords words = 2;
- }
- /* 私聊频道信息通知 */
- message PrivateWordsNotify
- {
- // 对方玩家ID
- int64 toPlayerId = 1;
- // 发言信息
- SpeakWords words = 2;
- }
- /* 队伍房间频道信息通知 */
- message ChatMessageNotify
- {
- // 聊天发言信息
- SpeakWords words = 2;
- }
- /* 藏宝图Buff卡通知 */
- message TreasureCardNotify
- {
- // Buff卡列表
- repeated int32 buffCards = 1;
- }
- /* 共斗队伍改变通知 */
- message FightTogetherTeamAlterNotify
- {
- repeated FightTogetherPlayerInfo FightTogetherPlayerInfo = 1;
- }
- /* 共斗玩家状态改变通知 */
- message FightTogetherStateAlterNotify
- {
- int64 playerId = 1;
- int32 state = 2;
- }
- /* 共斗房间玩家离开通知 */
- message FightTogetherLeaveNotify
- {
- // 是否被踢
- bool isKickOut = 1;
- // 离开的玩家ID
- int64 leavePlayerId = 2;
- // 提示信息
- string tipMessage = 3;
- // 房主玩家ID
- int64 ownerPlayerId = 4;
- }
- /* 共斗玩家匹配房间通知 */
- message FightTogetherMatchRoomNotify
- {
- // 房间ID
- int32 roomId = 1;
- }
- /* 共斗玩家信息通知 */
- message FightTogetherPlayerInfoNotify
- {
- repeated FightTogetherPlayerInfo fightTogetherPlayerInfo = 1;
- // 房主玩家ID
- int64 ownerPlayerId = 2;
- }
- /* 共斗战斗开始通知 */
- message FightTogetherStartNotify
- {
- // 是否准备,true:房主点开始全员准备,false:进入战斗
- bool isPrepare = 1;
- SimulationFightTogetherResponse simulationFightTogetherResponse = 2;
- }
- /* 共斗战斗结束通知 */
- message FightTogetherFinishNotify
- {
- // 房间ID
- int32 roomId = 1;
- // 是否胜利
- bool isWin = 2;
- // 奖励道具
- repeated Item awardItems = 3;
- // 共斗信息
- FightTogether fightTogether = 4;
- }
- /* 共斗玩家Buff改变通知 */
- message FightTogetherBuffAlterNotify
- {
- int64 playerId = 1;
- int32 buffId = 2;
- }
- /* 共斗全员准备通知 */
- message FightTogetherAllReadyNotify
- {
- bool isAllReady = 1;
- }
- /* 商店礼包购买通知 */
- message ShopGiftItemBuyNotify
- {
- // 商店礼包ID
- int32 shopItemId = 1;
- // 获得的道具
- // repeated Item items = 2;
- // 战令等级
- int32 battlePassLevel = 3;
- // 战令购买等级
- int32 battlePassBuyLevel = 4;
- }
- /* 公会信息通知 */
- message GuildInfoNotify
- {
- // 公会ID
- int32 guildId = 1;
- }
|