sk_proto/protos/PowerCenterProto.proto

54 lines
1.2 KiB
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
message PowerCenterInfoIndication{
optional PowerCenterInfo powerCenterInfo = 1;
repeated LinkHeroInfo linkHeroInfo = 2;
}
message PowerCenterInfo{
optional int32 level = 1;
optional bool active = 2;
repeated string strongestHero = 3;
repeated LinkPos linkPos = 4;
repeated Equip equip = 5;
}
message LinkHeroInfo{
optional string heroId = 1;
optional int32 heroLevel = 2;
optional int32 heroBreakId = 3;//阶数
repeated Equip equip = 4;//装备
}
message LinkPos{
optional int32 position = 1;
optional string heroId = 2;//链接的英雄,为空则未链接
optional int64 readyTime = 3;//冷却完成时间
optional int32 heroLevel = 4;
optional int32 heroBreakId = 5;//阶数
}
message Equip{
optional int32 position = 1;
optional int32 equipId = 2;
optional string heroId = 3;
}
message LinkHeroRequest{//链接&取消链接
optional int32 position = 1;
optional string heroId = 2;//取消链接可不传
optional int32 type = 3; // 0取消链接1链接
}
message SpeedUpLinkPosRequest{//提前结束链接栏位冷却
optional int32 position = 1;
optional int32 costType = 2;
}