Example #1
0
void CContainer::IdentificationCompletedCallback(TTankIndex Tank, TGenericCockie Cockie)
{
    CContainer *InstancePtr = reinterpret_cast<CContainer *>(Cockie);

    // Erase the callback pointers after callback was done.
    InstancePtr->SetIdentificationCompletedCallback(Tank, NULL, NULL);

    InstancePtr->m_TanksArray[Tank]->SetEventIdentificationCompletion();
}