| 30 | |
| 31 | template <class T> |
| 32 | void CPhraseScript::LoadSequence(CUIXml* uiXml, XML_NODE* phrase_node, LPCSTR tag, T& str_vector) |
| 33 | { |
| 34 | int tag_num = uiXml->GetNodesNum(phrase_node, tag); |
| 35 | str_vector.clear(); |
| 36 | for (int i = 0; i < tag_num; i++) |
| 37 | { |
| 38 | LPCSTR tag_text = uiXml->Read(phrase_node, tag, i, NULL); |
| 39 | str_vector.push_back(tag_text); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | bool CPhraseScript::CheckInfo(const CInventoryOwner* pOwner) const |
| 44 | { |
nothing calls this directly
no test coverage detected