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

71 lines
1.3 KiB
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";
2024-02-22 09:36:01 +08:00
//import "common/page_query.proto";
2024-02-05 14:05:44 +08:00
option java_package = "club.joylink.rtss.vo.race";
message RaceSceneVO {
int64 id = 1;
string name = 2;
RaceScene.Type type = 3;
2024-02-22 09:36:01 +08:00
int64 functionId = 4;
Scene scene = 5;
common.ModifyInfoVO modifyInfo = 6;
int64 mapId = 7;
2024-02-22 16:52:27 +08:00
string mapName = 8;
2024-02-05 14:05:44 +08:00
}
2024-02-22 09:36:01 +08:00
//场景列表对象
message RaceSceneListVO{
2024-02-18 15:09:02 +08:00
int64 id = 1;
string name = 2;
RaceScene.Type type = 3;
2024-02-23 11:49:14 +08:00
int64 map_id = 4;
string map_name = 5;
common.ModifyInfoVO modify_info = 6;
2024-02-05 14:05:44 +08:00
}
2024-03-11 09:26:12 +08:00
//自定义保存
message SceneCustomCreateVO{
string name = 1;
2024-03-11 09:46:45 +08:00
RaceScene.Type type = 2;
Scene scene = 3;
2024-03-11 09:26:12 +08:00
}
//场景发布vo
2024-02-22 09:36:01 +08:00
message RaceScenePublishVO{
2024-02-23 10:39:11 +08:00
int64 dafitid = 1;//实训草稿id
2024-02-22 09:36:01 +08:00
// int64 mapId = 2;
2024-02-23 10:39:11 +08:00
string name = 3;
2024-03-07 13:23:43 +08:00
//是否强制更新
bool force_publish = 4;
2024-02-05 14:05:44 +08:00
}
2024-02-22 09:36:01 +08:00
2024-02-05 14:05:44 +08:00
message Scene {
string url = 1;
2024-02-23 11:49:14 +08:00
StorageSimulation storage_simulation = 2;
2024-03-11 09:26:12 +08:00
string file_name = 3;
2024-02-05 14:05:44 +08:00
}
//此消息与之前的实训数据相同,待填充
message StorageSimulation {
2024-02-23 11:49:14 +08:00
string bg_scene_json = 1;
string step_json = 2;
string member_json = 3;
repeated string player_ids = 4;
2024-02-26 17:27:06 +08:00
string scoring_rule_json = 5;
2024-02-05 14:05:44 +08:00
}
message RaceScene {
enum Type {
Unknown = 0;
2024-03-11 09:26:12 +08:00
Local = 1; // 场景
Link = 2; //连接
Video = 3; //视频演示
2024-02-05 14:05:44 +08:00
}
}