khanat-opennel-code/code/nelns/login_system/nel_launcher_qt/shard.h
StudioEtrange 91e6b23d3f ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00

27 lines
557 B
C++

#ifndef NL_LAUNCHER_SHARD_H
#define NL_LAUNCHER_SHARD_H
struct CShard
{
CShard(const std::string &version, bool online, uint32 shardId, const std::string &name, uint32 nbPlayers, const std::string &wsAddr, const std::string &patchURL)
{
Version = version;
Online = online;
ShardId = shardId;
Name = name;
NbPlayers = nbPlayers;
WsAddr = wsAddr;
PatchURL = patchURL;
}
std::string Version;
bool Online;
uint32 ShardId;
std::string Name;
uint32 NbPlayers;
std::string WsAddr;
std::string PatchURL;
};
#endif // NL_LAUNCHER_SHARD_H