Changeset View
Changeset View
Standalone View
Standalone View
source/network/NetServer.h
Show All 15 Lines | |||||
*/ | */ | ||||
#ifndef NETSERVER_H | #ifndef NETSERVER_H | ||||
#define NETSERVER_H | #define NETSERVER_H | ||||
#include "NetFileTransfer.h" | #include "NetFileTransfer.h" | ||||
#include "NetHost.h" | #include "NetHost.h" | ||||
#include "lib/config2.h" | #include "lib/config2.h" | ||||
#include "lib/external_libraries/enet.h" | |||||
#include "lib/types.h" | #include "lib/types.h" | ||||
#include "scriptinterface/ScriptTypes.h" | #include "scriptinterface/ScriptTypes.h" | ||||
#include <mutex> | #include <mutex> | ||||
#include <string> | #include <string> | ||||
#include <utility> | #include <utility> | ||||
#include <vector> | #include <vector> | ||||
#include <thread> | #include <thread> | ||||
▲ Show 20 Lines • Show All 284 Lines • ▼ Show 20 Lines | private: | ||||
std::vector<CNetServerSession*> m_Sessions; | std::vector<CNetServerSession*> m_Sessions; | ||||
CNetStatsTable* m_Stats; | CNetStatsTable* m_Stats; | ||||
NetServerState m_State; | NetServerState m_State; | ||||
CStrW m_ServerName; | CStrW m_ServerName; | ||||
std::vector<u32> m_BannedIPs; | std::vector<enet_host_type> m_BannedIPs; | ||||
std::vector<CStrW> m_BannedPlayers; | std::vector<CStrW> m_BannedPlayers; | ||||
/** | /** | ||||
* Holds the GUIDs of all currently paused players. | * Holds the GUIDs of all currently paused players. | ||||
*/ | */ | ||||
std::vector<CStr> m_PausingPlayers; | std::vector<CStr> m_PausingPlayers; | ||||
u32 m_NextHostID; | u32 m_NextHostID; | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator