mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 17:59:03 +00:00
91e6b23d3f
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
27 lines
557 B
C++
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
|