rt-sim-training-message/proto/race/race_scene.proto
2024-02-22 16:52:27 +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 mapId = 4;
string mapName = 5;
common.ModifyInfoVO modifyInfo = 6;
}
message RaceScenePublishVO{
int64 traningPublishId = 1; //实训id
// int64 mapId = 2;
string name = 2;
}
message Scene {
string url = 1;
StorageSimulation storageSimulation = 2;
}
//此消息与之前的实训数据相同,待填充
message StorageSimulation {
string bgSceneJson = 1;
string stepJson = 2;
string memberJson = 3;
repeated string playerIds = 4;
}
message RaceScene {
enum Type {
Unknown = 0;
Local = 1;
Link = 2;
}
}