22 #ifndef GUI_WIDGETS_TABS_SOCIALTABBASE_H
23 #define GUI_WIDGETS_TABS_SOCIALTABBASE_H
31 ENUMS_RESOURCES_MAP_MAPITEMTYPE_H
33 #define addAvatars(mob, str, type) \
35 ava = new Avatar(str);\
36 ava->setOnline(false);\
38 ava->setType(MapItemType::SEPARATOR);\
41 avatars->push_back(ava);\
42 mobs = actorManager->get##mob##s();\
51 name = _("(default)");\
58 ava = new Avatar(name);\
59 ava->setOnline(true);\
60 ava->setLevel(level);\
61 ava->setType(MapItemType::type);\
64 avatars->push_back(ava);\
69 #define updateAtkListStart() \
70 if (!socialWindow || !localPlayer || !actorManager)\
72 STD_VECTOR<Avatar*> *const avatars = mBeings->getMembers();\
73 STD_VECTOR<Avatar*>::iterator ia = avatars->begin();\
74 while (ia != avatars->end())\
80 Avatar *ava = nullptr;\
81 std::list<std::string> mobs;\
82 std::list<std::string>::const_iterator i;\
83 std::list<std::string>::const_iterator i_end