2023-06-26 16:25:29 +02:00
|
|
|
/*
|
|
|
|
* SThievesGuildInfo.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../GameConstants.h"
|
|
|
|
#include "InfoAboutArmy.h"
|
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
struct DLL_LINKAGE SThievesGuildInfo
|
|
|
|
{
|
|
|
|
std::vector<PlayerColor> playerColors; //colors of players that are in-game
|
|
|
|
|
|
|
|
std::vector< std::vector< PlayerColor > > numOfTowns, numOfHeroes, gold, woodOre, mercSulfCrystGems, obelisks, artifacts, army, income; // [place] -> [colours of players]
|
|
|
|
|
2024-06-24 03:23:26 +02:00
|
|
|
std::map<PlayerColor, InfoAboutHero> colorToBestHero; //maps player's color to his best heroes'
|
2023-06-26 16:25:29 +02:00
|
|
|
|
2023-08-19 21:35:44 +02:00
|
|
|
std::map<PlayerColor, EAiTactic> personality; // color to personality // ai tactic
|
2023-11-08 16:13:08 +02:00
|
|
|
std::map<PlayerColor, CreatureID> bestCreature; // color to ID // id or -1 if not known
|
2023-06-26 16:25:29 +02:00
|
|
|
|
2024-01-20 20:34:51 +02:00
|
|
|
// template <typename Handler> void serialize(Handler &h)
|
2023-06-26 16:25:29 +02:00
|
|
|
// {
|
|
|
|
// h & playerColors;
|
|
|
|
// h & numOfTowns;
|
|
|
|
// h & numOfHeroes;
|
|
|
|
// h & gold;
|
|
|
|
// h & woodOre;
|
|
|
|
// h & mercSulfCrystGems;
|
|
|
|
// h & obelisks;
|
|
|
|
// h & artifacts;
|
|
|
|
// h & army;
|
|
|
|
// h & income;
|
|
|
|
// h & colorToBestHero;
|
|
|
|
// h & personality;
|
|
|
|
// h & bestCreature;
|
|
|
|
// }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_END
|