rt-sim-training-message/proto/race/race_scene.proto
2024-02-23 11:49:14 +08:00

57 lines
1.0 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 RaceScenePublishVO{
int64 dafitid = 1;//实训草稿id
// int64 mapId = 2;
string name = 3;
}
message Scene {
string url = 1;
StorageSimulation storage_simulation = 2;
}
//此消息与之前的实训数据相同,待填充
message StorageSimulation {
string bg_scene_json = 1;
string step_json = 2;
string member_json = 3;
repeated string player_ids = 4;
}
message RaceScene {
enum Type {
Unknown = 0;
Local = 1;
Link = 2;
}
}