60 mParent2 =
msg.readBeingId(
"acoount id for other parent");
61 msg.readString(24,
"name who ask");
65 mParent2 =
msg.readBeingId(
"acoount id for other parent");
66 const std::string name1 =
msg.readString(24,
"name who ask");
71 if (member !=
nullptr)
73 const std::string name2 = member->
getName();
78 strprintf(
_(
"Do you accept %s and %s as parents?"),
79 name1.c_str(), name2.c_str()),
91 const std::string name =
msg.readString(24,
"name");
104 const std::string name =
msg.readString(24,
"name");
110 const int type =
msg.readInt32(
"type");
const BeingId BeingId_zero
std::string getName() const
const std::string & getName() const
LocalPlayer * localPlayer
#define UNIMPLEMENTEDPACKETFIELD(field)
bool msg(InputEvent &event)
void processAskForChildReply(Net::MessageIn &msg)
ConfirmDialog * confirmDlg
void processAskForChild(Net::MessageIn &msg)
void processDivorced(Net::MessageIn &msg)
RequestAdoptChildListener listener
void processCallPartner(Net::MessageIn &msg)
void notify(const unsigned int message)
@ ADOPT_CHILD_ERROR_LEVEL
@ ADOPT_CHILD_ERROR_HAVE_BABY
@ ADOPT_CHILD_ERROR_BABY_MARRIED
static const std::string SOUND_REQUEST
std::string strprintf(const char *const format,...)