mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
netpacks
This commit is contained in:
@ -306,6 +306,24 @@ struct DLL_LINKAGE RazeStructure : public BuildStructure
|
||||
void visitTyped(ICPackVisitor & visitor) override;
|
||||
};
|
||||
|
||||
struct DLL_LINKAGE SpellResearch : public CPackForServer
|
||||
{
|
||||
SpellResearch() = default;
|
||||
SpellResearch(const ObjectInstanceID & TID)
|
||||
: tid(TID)
|
||||
{
|
||||
}
|
||||
ObjectInstanceID tid;
|
||||
|
||||
void visitTyped(ICPackVisitor & visitor) override;
|
||||
|
||||
template <typename Handler> void serialize(Handler & h)
|
||||
{
|
||||
h & static_cast<CPackForServer &>(*this);
|
||||
h & tid;
|
||||
}
|
||||
};
|
||||
|
||||
struct DLL_LINKAGE RecruitCreatures : public CPackForServer
|
||||
{
|
||||
RecruitCreatures() = default;
|
||||
|
Reference in New Issue
Block a user