This commit is contained in:
aozhiwei 2022-09-27 18:35:31 +08:00
parent 3865e9df1b
commit c73fcc9111
3 changed files with 12 additions and 0 deletions

View File

@ -1669,6 +1669,16 @@ namespace MetaData
abort();
}
}
{
std::vector<std::string> strings;
a8::Split(pb->round_score(), strings, '|');
for (std::string& str : strings) {
round_score.push_back(a8::XValue(str).GetInt());
}
if (round_score.size() != waves.size()) {
abort();
}
}
{
if (pb->id() == kDestoryMode) {
std::vector<std::string> strings;

View File

@ -473,6 +473,7 @@ namespace MetaData
std::vector<MetaData::SafeArea*> area;
std::vector<std::vector<PveGeminiContent*>> waves;
std::vector<int> score_reward;
std::vector<int> round_score;
std::vector<a8::Vec2> next_door;
void Init();

View File

@ -532,6 +532,7 @@ message PveGeminiMode
optional string mode_time = 3;
optional string area = 4;
optional string score_reward = 5;
optional string round_score = 7;
optional string next_door = 6;
}