SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LFG.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 #include "CommonNetStructures.h"
10 
11 class Entity;
12 
13 struct LFGMember
14 {
15  QString m_name; // player name
16  QString m_classname; // player class
17  QString m_origin; // player origin
18  uint32_t m_level; // player level
19 };
20 
21 /*
22  * LFG Methods
23  */
24 extern std::vector<LFGMember> g_lfg_list;
25 
26 void addLFG(Entity &src);
27 void removeLFG(Entity &src);
28 void findTeamMember(Entity &tgt);
29 void dumpLFGList();
QString m_classname
Definition: LFG.h:16
uint32_t m_level
Definition: LFG.h:18
std::vector< LFGMember > g_lfg_list
Definition: LFG.cpp:23
Definition: LFG.h:13
QString m_origin
Definition: LFG.h:17
void addLFG(Entity &src)
Definition: LFG.cpp:25
void findTeamMember(Entity &tgt)
Definition: LFG.cpp:55
Definition: Entity.h:221
QString m_name
Definition: LFG.h:15
void removeLFG(Entity &tgt)
Definition: LFG.cpp:38
void dumpLFGList()
Definition: LFG.cpp:60