eris 1.4.0
A WorldForge client library.
TransferInfo.cpp
1#include <utility>
2
3#include <utility>
4
5#include "TransferInfo.h"
6
7namespace Eris {
8
10 int port,
11 std::string key,
12 std::string id)
13 : m_host(std::move(host)),
14 m_port(port),
15 m_possess_key(std::move(key)),
16 m_possess_entity_id(std::move(id)) {
17}
18
19const std::string& TransferInfo::getHost() const {
20 return m_host;
21}
22
24 return m_port;
25}
26
27const std::string& TransferInfo::getPossessKey() const {
28 return m_possess_key;
29}
30
31const std::string& TransferInfo::getPossessEntityId() const {
32 return m_possess_entity_id;
33}
34
35}
const std::string & getPossessKey() const
Get the one-time generated possess key (used for claiming ownership)
TransferInfo(std::string host, int port, std::string key, std::string id)
Ctor.
Definition: TransferInfo.cpp:9
const std::string & getHost() const
Get the hostname of the transfer destination server.
const std::string & getPossessEntityId() const
Get the entity ID of the transferred character on the destination server.
int getPort() const
Get the connection port of the transfer destination server.
Definition: Account.cpp:33