Party status

This commit is contained in:
Wiktor Mazur
2019-10-02 19:35:45 +02:00
parent 2ba290c540
commit 5ea4466612
6 changed files with 39 additions and 3 deletions
+8
View File
@@ -280,6 +280,14 @@ impl ZoneStats for Meter {
self.last_fight_session = Session::from(&self.last_fight_session);
Some(())
}
fn get_players_in_party(&self) -> Option<Vec<String>> {
if let Some(party) = &self.party {
let members = party.clone().members;
return Some(members.into_iter().collect())
}
None
}
}
impl traits::PartyEvents for Meter {