void Cache_GetText(ClcData *dat, ClcContact *contact, BOOL forceRenew) { Cache_GetFirstLineText(dat, contact); if (!dat->force_in_dialog) { ClcCacheEntry *pdnce = pcli->pfnGetCacheEntry(contact->hContact); if ((dat->second_line_show && (forceRenew || pdnce->szSecondLineText == NULL)) || (dat->third_line_show && (forceRenew || pdnce->szThirdLineText == NULL))) gtaAddRequest(dat, contact->hContact); } }
///////////////////////////////////////////////////////////////////////////////////////// // Get all lines of text // void Cache_GetText(ClcData *dat, ClcContact *contact) { Cache_GetFirstLineText(dat, contact); if (!dat->bForceInDialog) { if (dat->secondLine.show) Cache_GetNthLineText(dat, contact->pce, 2); if (dat->thirdLine.show) Cache_GetNthLineText(dat, contact->pce, 3); } }
void Cache_GetText(struct ClcData *dat, struct ClcContact *contact, BOOL forceRenew) { Cache_GetFirstLineText(dat, contact); if (!dat->force_in_dialog)// && !dat->isStarting) { PDNCE pdnce=(PDNCE)pcli->pfnGetCacheEntry(contact->hContact); if ( (dat->second_line_show&&(forceRenew||pdnce->szSecondLineText==NULL)) ||(dat->third_line_show&&(forceRenew||pdnce->szThirdLineText==NULL)) ) { gtaAddRequest(dat,contact, contact->hContact); } } }
// Get all lines of text void Cache_GetText(struct ClcData *dat, struct ClcContact *contact) { Cache_GetFirstLineText(dat, contact); Cache_GetSecondLineText(dat, contact); Cache_GetThirdLineText(dat, contact); }