mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-18 04:06:42 -04:00
Feature/house dialog (#75)
This commit is contained in:
parent
487df9bead
commit
98cf96b927
6 changed files with 257 additions and 50 deletions
|
@ -80,4 +80,15 @@ public:
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
template<typename TContainer>
|
||||
static inline CString Join(const TContainer& strings, char ch = ',') {
|
||||
CString ret;
|
||||
for (auto const& item : strings) {
|
||||
ret += item;
|
||||
ret += ch;
|
||||
}
|
||||
ret.Delete(ret.GetLength() - 1, 1);
|
||||
return ret;
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue