void CPlayer::OnTimerSave( CTimer* p,float fTimeElaps ) { for ( int i = ePlayerComponent_None; i < ePlayerComponent_Max ; ++i ) { IPlayerComponent* p = m_vAllComponents[i] ; if ( p ) { p->TimerSave(); } } }
void CPlayer::OnTimerSave(float fTimeElaps,unsigned int nTimerID ) { for ( int i = ePlayerComponent_None; i < ePlayerComponent_Max ; ++i ) { IPlayerComponent* p = m_vAllComponents[i] ; if ( p ) { p->TimerSave(); } } }