1
This commit is contained in:
parent
3865e9df1b
commit
c73fcc9111
@ -1669,6 +1669,16 @@ namespace MetaData
|
|||||||
abort();
|
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) {
|
if (pb->id() == kDestoryMode) {
|
||||||
std::vector<std::string> strings;
|
std::vector<std::string> strings;
|
||||||
|
@ -473,6 +473,7 @@ namespace MetaData
|
|||||||
std::vector<MetaData::SafeArea*> area;
|
std::vector<MetaData::SafeArea*> area;
|
||||||
std::vector<std::vector<PveGeminiContent*>> waves;
|
std::vector<std::vector<PveGeminiContent*>> waves;
|
||||||
std::vector<int> score_reward;
|
std::vector<int> score_reward;
|
||||||
|
std::vector<int> round_score;
|
||||||
std::vector<a8::Vec2> next_door;
|
std::vector<a8::Vec2> next_door;
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
|
@ -532,6 +532,7 @@ message PveGeminiMode
|
|||||||
optional string mode_time = 3;
|
optional string mode_time = 3;
|
||||||
optional string area = 4;
|
optional string area = 4;
|
||||||
optional string score_reward = 5;
|
optional string score_reward = 5;
|
||||||
|
optional string round_score = 7;
|
||||||
optional string next_door = 6;
|
optional string next_door = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user