mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
netpacks for renaming
This commit is contained in:
@@ -286,6 +286,12 @@ void CCallback::setFormation(const CGHeroInstance * hero, EArmyFormation mode)
|
||||
sendRequest(pack);
|
||||
}
|
||||
|
||||
void CCallback::setTownName(const CGTownInstance * town, std::string & name)
|
||||
{
|
||||
SetTownName pack(town->id, name);
|
||||
sendRequest(pack);
|
||||
}
|
||||
|
||||
void CCallback::recruitHero(const CGObjectInstance *townOrTavern, const CGHeroInstance *hero, const HeroTypeID & nextHero)
|
||||
{
|
||||
assert(townOrTavern);
|
||||
|
||||
Reference in New Issue
Block a user