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

57 lines
1.0 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-22 09:36:01 +08:00
int64 mapId = 4;
2024-02-22 16:52:27 +08:00
string mapName = 5;
2024-02-22 09:36:01 +08:00
common.ModifyInfoVO modifyInfo = 6;
2024-02-05 14:05:44 +08:00
}
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-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;
StorageSimulation storageSimulation = 2;
}
//此消息与之前的实训数据相同,待填充
message StorageSimulation {
2024-02-22 09:36:01 +08:00
string bgSceneJson = 1;
string stepJson = 2;
string memberJson = 3;
repeated string playerIds = 4;
2024-02-05 14:05:44 +08:00
}
message RaceScene {
enum Type {
Unknown = 0;
Local = 1;
Link = 2;
}
}