void CChatChanMember::DontIgnore(LPCTSTR pszName) { ADDTOCALLSTACK("CChatChanMember::DontIgnore"); if (IsIgnoring(pszName)) ToggleIgnore(pszName); else SendChatMsg(CHATMSG_NotIgnoring, pszName); }
void CChatMember::RemoveIgnore(LPCTSTR pszName) { ADDTOCALLSTACK("CChatMember::RemoveIgnore"); if ( !IsIgnoring(pszName) ) SendChatMsg(CHATMSG_NotIgnoring, pszName); else ToggleIgnore(pszName); }
void CChatChanMember::Ignore(LPCTSTR pszName) { ADDTOCALLSTACK("CChatChanMember::Ignore"); if (!IsIgnoring(pszName)) ToggleIgnore(pszName); else SendChatMsg(CHATMSG_AlreadyIgnoringPlayer, pszName); }
void IgnoreList::Ignore(int index) { if (!IsIgnoring(index)) { mToIgnore[index - mLowerBound] = true; mIgnoring++; if (mIgnoring == mIgnoreSize) { mLowerBound += mIgnoreSize; Reset(); } } }