1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Reduced usage of CPack, replaced with CPackForServer where applicable

This commit is contained in:
Ivan Savenko
2024-10-04 13:41:53 +00:00
parent c1c552d394
commit ee831c06e7
12 changed files with 21 additions and 24 deletions

View File

@@ -27,7 +27,6 @@ class CCommanderInstance;
class EVictoryLossCheckResult;
class CRandomGenerator;
struct CPack;
struct CPackForServer;
struct NewTurn;
struct CGarrisonOperationPack;
@@ -89,7 +88,7 @@ public:
CVCMIServer * gameLobby() const;
bool isValidObject(const CGObjectInstance *obj) const;
bool isBlockedByQueries(const CPack *pack, PlayerColor player);
bool isBlockedByQueries(const CPackForServer *pack, PlayerColor player);
bool isAllowedExchange(ObjectInstanceID id1, ObjectInstanceID id2);
void giveSpells(const CGTownInstance *t, const CGHeroInstance *h);