nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
messages.h
Go to the documentation of this file.
1#ifndef NANOMMO_CLIENT_MESSAGES_H_
2#define NANOMMO_CLIENT_MESSAGES_H_
3
4#include <string>
5
6#include "content/content.h"
7#include "protocol/nanommo.pb.h"
8
9namespace nanommo {
10
11/// A server's sentence in the language in use: its English translated, and
12/// what goes in it filled in, the content's names in the language too, and
13/// the names that players gave as they are. In English, it's the English the
14/// server has for it.
15std::string Translated(const protocol::Message& message,
16 const Content& content);
17
18/// One from the login server, which names nothing of the content's.
19std::string Translated(const protocol::Message& message);
20
21} // namespace nanommo
22
23#endif // NANOMMO_CLIENT_MESSAGES_H_
Definition chat.cc:9
std::string Translated(const protocol::Message &message, const Content &content)
Definition messages.cc:108