YAPOG  0.0.1
Yet Another Pokemon Online Game
GameMessage.cpp
Go to the documentation of this file.
2 
3 namespace yap
4 {
6  : content_ ()
7  , senderName_ ()
8  {
9  }
10 
12  {
13  }
14 
16  {
17  return content_;
18  }
19 
21  {
22  return senderName_;
23  }
24 
25  void GameMessage::SetContent (const String& content)
26  {
27  content_ = content;
28  }
29 
30  void GameMessage::SetSenderName (const String& senderName)
31  {
32  senderName_ = senderName;
33  }
34 } // namespace yap