rt-sim-training-message/proto/race/race_scene.proto
2024-03-11 09:46:45 +08:00

71 lines
1.3 KiB
Protocol Buffer

syntax = "proto3";
package race;
import "common/modify_info.proto";
//import "common/page_query.proto";
option java_package = "club.joylink.rtss.vo.race";
message RaceSceneVO {
int64 id = 1;
string name = 2;
RaceScene.Type type = 3;
int64 functionId = 4;
Scene scene = 5;
common.ModifyInfoVO modifyInfo = 6;
int64 mapId = 7;
string mapName = 8;
}
//场景列表对象
message RaceSceneListVO{
int64 id = 1;
string name = 2;
RaceScene.Type type = 3;
int64 map_id = 4;
string map_name = 5;
common.ModifyInfoVO modify_info = 6;
}
//自定义保存
message SceneCustomCreateVO{
string name = 1;
RaceScene.Type type = 2;
Scene scene = 3;
}
//场景发布vo
message RaceScenePublishVO{
int64 dafitid = 1;//实训草稿id
// int64 mapId = 2;
string name = 3;
//是否强制更新
bool force_publish = 4;
}
message Scene {
string url = 1;
StorageSimulation storage_simulation = 2;
string file_name = 3;
}
//此消息与之前的实训数据相同,待填充
message StorageSimulation {
string bg_scene_json = 1;
string step_json = 2;
string member_json = 3;
repeated string player_ids = 4;
string scoring_rule_json = 5;
}
message RaceScene {
enum Type {
Unknown = 0;
Local = 1; // 场景
Link = 2; //连接
Video = 3; //视频演示
}
}