eris 1.4.0
A WorldForge client library.
TransferInfo.h
1#ifndef ERIS_TRANSFERINFO_H
2#define ERIS_TRANSFERINFO_H
3
4#include <string>
5
6namespace Eris
7{
8
17{
18public:
26 TransferInfo(std::string host, int port, std::string key, std::string id);
27
32 const std::string & getHost() const;
33
38 int getPort() const;
39
44 const std::string & getPossessKey() const;
45
50 const std::string & getPossessEntityId() const;
51
52private:
53 std::string m_host;
54 int m_port;
55 std::string m_possess_key;
56 std::string m_possess_entity_id;
57
58};
59
60}
61
62#endif
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