本文整理汇总了C++中std::list::remove_if方法的典型用法代码示例。如果您正苦于以下问题:C++ list::remove_if方法的具体用法?C++ list::remove_if怎么用?C++ list::remove_if使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类std::list
的用法示例。
在下文中一共展示了list::remove_if方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: FilterTargets
void FilterTargets(std::list<WorldObject*>& unitList)
{
unitList.remove_if(SanctumSentryCheck());
}
示例2: FilterTargets
void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if (GuardianCheck());
}
示例3: FilterTargets
void FilterTargets(std::list<WorldObject*>& unitList)
{
unitList.remove_if(Trinity::UnitAuraCheck(true, SPELL_COUNTDOWN));
unitList.push_back(GetCaster());
}
示例4: FilterTargets
void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(TrinityCore::UnitAuraCheck(false, SPELL_SHADOW_MARK));
}
示例5: FilterTargets
void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(MarkOfNatureTargetSelector());
}
示例6: FilterTargets
void FilterTargets(std::list<Unit*>& unitList)
{
unitList.remove_if(EnervatingBrandSelector(GetCaster()));
unitList.push_back(GetCaster());
}
示例7: FilterTargets
void FilterTargets(std::list<Unit*>& unitList)
{
unitList.remove_if (Trinity::ObjectGUIDCheck(GetCaster()->GetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT)));
}
示例8: RemoveInvalidTargets
void RemoveInvalidTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(true, SHAMAN_SPELL_EXHAUSTION));
}
示例9: FilterTargets
void FilterTargets(std::list<WorldObject*>& targetList)
{
targetList.remove_if(StompTargetSelector());
}
示例10: FilterTargets
void FilterTargets(std::list<Unit*>& unitList)
{
unitList.remove_if(druid_los_check(GetCaster()));
Quantum::DataPackets::RandomResizeList(unitList, 2);
}
示例11: FilterTargets
void FilterTargets(std::list<WorldObject*>& unitList)
{
unitList.remove_if(EarthenPowerTargetSelector());
}
示例12: FilterTargets
void FilterTargets(std::list<WorldObject*>& unitList)
{
unitList.remove_if(DistanceCheck(x, y));
}
示例13: FilterTargets
void FilterTargets(std::list<Unit*>& unitList)
{
unitList.remove_if (Trinity::UnitAuraCheck(true, SPELL_PACT_OF_THE_DARKFALLEN));
unitList.push_back(GetCaster());
}
示例14: FilterTargets
void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(true, SPELL_SABER_LASH_IMMUNITY));
}
示例15: FilterTargets
void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(MarkTargetFilter());
}