mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Merge pull request #4741 from IvanSavenko/serialize_local_state
Serialize local state of player interface
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include "PacksForClient.h"
|
||||
#include "PacksForClientBattle.h"
|
||||
#include "PacksForServer.h"
|
||||
#include "SaveLocalState.h"
|
||||
#include "SetRewardableConfiguration.h"
|
||||
#include "StackLocation.h"
|
||||
#include "PacksForLobby.h"
|
||||
@ -92,6 +93,12 @@ bool CLobbyPackToServer::isForServer() const
|
||||
return true;
|
||||
}
|
||||
|
||||
void SaveLocalState::visitTyped(ICPackVisitor & visitor)
|
||||
{
|
||||
visitor.visitSaveLocalState(*this);
|
||||
}
|
||||
|
||||
|
||||
void PackageApplied::visitTyped(ICPackVisitor & visitor)
|
||||
{
|
||||
visitor.visitPackageApplied(*this);
|
||||
|
Reference in New Issue
Block a user