Пример #1
0
void PartyTab::getAutoCompleteList(std::vector<std::string> &names) const
{
    Party *p = local_player->getParty();

    if (p)
        p->getNames(names);
}
Пример #2
0
void PartyTab::getAutoCompleteList(StringVect &names) const
{
    if (!player_node)
        return;

    Party *p = player_node->getParty();

    if (p)
        p->getNames(names);
}