1
This commit is contained in:
parent
a4a690fe6f
commit
e1b7c344d7
@ -112,10 +112,19 @@ namespace MetaData
|
|||||||
|
|
||||||
void MapThing::Init()
|
void MapThing::Init()
|
||||||
{
|
{
|
||||||
std::vector<std::string> strings;
|
{
|
||||||
a8::Split(i->buff_list(), strings, '|');
|
std::vector<std::string> strings;
|
||||||
for (const std::string& tmp_str : strings) {
|
a8::Split(i->buff_list(), strings, '|');
|
||||||
buff_list.push_back(a8::XValue(tmp_str));
|
for (const std::string& tmp_str : strings) {
|
||||||
|
buff_list.push_back(a8::XValue(tmp_str));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
std::vector<std::string> strings;
|
||||||
|
a8::Split(i->airdrop_mon(), strings, '|');
|
||||||
|
for (const std::string& tmp_str : strings) {
|
||||||
|
airdrop_mon_list.push_back(a8::XValue(tmp_str));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ namespace MetaData
|
|||||||
{
|
{
|
||||||
const metatable::MapThing* i = nullptr;
|
const metatable::MapThing* i = nullptr;
|
||||||
std::vector<int> buff_list;
|
std::vector<int> buff_list;
|
||||||
|
std::vector<int> airdrop_mon_list;
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
};
|
};
|
||||||
|
@ -60,6 +60,7 @@ message MapThing
|
|||||||
optional int32 explosion_interval = 18;
|
optional int32 explosion_interval = 18;
|
||||||
optional int32 explosion_times = 19;
|
optional int32 explosion_times = 19;
|
||||||
optional int32 explosion_float = 20;
|
optional int32 explosion_float = 20;
|
||||||
|
optional string airdrop_mon = 21;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SafeArea
|
message SafeArea
|
||||||
|
Loading…
x
Reference in New Issue
Block a user