rt-sim-training-message/proto/race/race_scoring_rule.proto

35 lines
663 B
Protocol Buffer
Raw Normal View History

2024-02-05 14:05:44 +08:00
syntax = "proto3";
package race;
2024-02-18 15:09:02 +08:00
import "common/modify_info.proto";
import "common/page_query.proto";
2024-02-05 14:05:44 +08:00
option java_package = "club.joylink.rtss.vo.race";
message RaceScoringRuleVO {
int64 id = 1;
string name = 2;
Rule rule = 3;
common.ModifyInfoVO modifyInfo = 4;
}
message RaceScoringRuleCreateVO {
2024-02-18 15:09:02 +08:00
int64 id = 1;
string name = 2;
Rule rule = 3; //非必填
2024-02-05 14:05:44 +08:00
}
message RaceScoringRuleQueryVO {
common.PageQueryVO page = 1;
string name = 2;
}
message Rule {
repeated Unit units = 1;
//最小评分单元
message Unit {
string text = 1; //文字描述
uint32 sceneStepId = 2; //场景步骤ID
uint32 score = 3; //分值
}
}