You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
Protocol Buffer
52 lines
1.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package pb.vars;
|
|
|
|
option go_package = "live-service/app/pb/vars;pbVars";
|
|
|
|
enum Platform {
|
|
Bilibili = 0; // B站
|
|
Huya = 1; // 虎牙
|
|
Douyu = 2; // 斗鱼
|
|
Tiktok = 3; // 抖音
|
|
}
|
|
|
|
enum UserCoinChangedReason {
|
|
///// 消费
|
|
Pay = 0; // 通用消费
|
|
BuyBattleFood = 1; // 购买粮草
|
|
BuyEliteUnit = 2; // 购买精英单位
|
|
BuyTitle = 3; // 购买称号
|
|
///// 礼物
|
|
SendGift = 4; // 赠送礼物
|
|
BuyNobility = 5; // 购买贵族
|
|
///// 领取
|
|
DrawGiftPack = 10; // 领取礼包
|
|
CheckIn = 11; // 签到打卡
|
|
///// 游戏事件
|
|
EventRankSubmit = 20; // 排行榜结算变动
|
|
EventBattleEnd = 21; // 战局结束奖励
|
|
///// 其它事件
|
|
Transfer = 30; // 转账
|
|
}
|
|
|
|
enum Goods {
|
|
Title = 0; // 称号
|
|
Elite = 1; // 精英单位
|
|
}
|
|
|
|
enum RankType {
|
|
Unknown = 0;
|
|
Damage = 1; // 伤害榜
|
|
DeDamage = 2; // 受伤榜
|
|
General = 3; // 名将榜
|
|
DeGeneral = 4; // 落马榜
|
|
KillUnit = 5; // 小兵击杀
|
|
DeKillUnit = 6; // 小兵被杀
|
|
KillPlayer = 7; // 击杀玩家
|
|
DeKillPlayer = 8; // 被杀榜
|
|
Win = 9; // 获胜榜
|
|
Lost = 10; // 战败榜
|
|
FirstBlood = 11; // 一血榜
|
|
DeFirstBlood = 12; // 被拿一血榜
|
|
} |