Add ExpeditionMember::IsValid method

This commit is contained in:
hg
2020-11-02 23:17:22 -05:00
parent 6acfc41778
commit 311042f06d
2 changed files with 9 additions and 7 deletions
+2
View File
@@ -68,6 +68,8 @@ struct ExpeditionMember
: char_id(char_id_), name(name_) {}
ExpeditionMember(uint32_t char_id_, const std::string& name_, ExpeditionMemberStatus status_)
: char_id(char_id_), name(name_), status(status_) {}
bool IsValid() const { return char_id != 0 && !name.empty(); }
};
class Expedition