SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Contact.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #pragma once
9 
10 #include <QString>
11 
12 struct Contact
13 {
14  QString m_name;
15  QString m_display_name;
16 
17  // for scripting language access.
18  std::string getName() const { return m_name.toStdString();}
19  void setName(const char *n) { m_name = n; }
20 };
void setName(const char *n)
Definition: Contact.h:19
QString m_display_name
Definition: Contact.h:15
QString m_name
Definition: Contact.h:14
std::string getName() const
Definition: Contact.h:18
Definition: Contact.h:12