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