mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-04 15:22:18 +00:00
Copy instead of moving expedition request data
This commit is contained in:
1 parent
59d10a9db3
commit
6165550133
2 files changed
+7
-9
No files matched your search
@@ -50,8 +50,8 @@ public:
|
||||
uint32_t GetMinPlayers() const { return m_min_players; }
|
||||
uint32_t GetMaxPlayers() const { return m_max_players; }
|
||||
bool HasReplayTimer() const { return m_has_replay_timer; }
|
||||
std::vector<ExpeditionMember> TakeMembers() && { return std::move(m_members); }
|
||||
std::unordered_map<std::string, ExpeditionLockoutTimer> TakeLockouts() && { return std::move(m_lockouts); }
|
||||
std::vector<ExpeditionMember> GetMembers() const { return m_members; }
|
||||
std::unordered_map<std::string, ExpeditionLockoutTimer> GetLockouts() const { return m_lockouts; }
|
||||
|
||||
private:
|
||||
bool ValidateMembers(const std::vector<std::string>& member_names);
|
||||
|
||||
Reference in new issue
Block a user