本文整理汇总了C++中UpdateAllStats函数的典型用法代码示例。如果您正苦于以下问题:C++ UpdateAllStats函数的具体用法?C++ UpdateAllStats怎么用?C++ UpdateAllStats使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了UpdateAllStats函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: SetCanModifyStats
void Player::_RemoveAllStatBonuses()
{
SetCanModifyStats(false);
_RemoveAllItemMods();
_RemoveAllAuraStatMods();
SetCanModifyStats(true);
UpdateAllStats();
}
示例2: SkipUpdateCondition
int CPokerTrackerThread::SkipUpdateCondition(int stat, int chair)
{
if (UpdateAllStats(chair))
{
return false;
}
else if (PT_DLL_IsPositionalPreflopStat(stat)
|| PT_DLL_IsAdvancedStat(stat))
{
return true;
}
else
{
return false;
}
}
示例3: write_log
bool CPokerTrackerThread::SkipUpdateForChair(int chair)
{
int userchair = p_symbol_engine_userchair->userchair();
bool confirmed = p_symbol_engine_userchair->userchair_confirmed();
if (userchair == chair && confirmed)
{
write_log(preferences.debug_pokertracker(), "[PokerTracker] GetStatsForChair for chair [%d] had been skipped. Reason: [User sits in this chair]\n", chair);
return true;
}
int hands = (int)PT_DLL_GetStat("pt_hands", chair);
if (hands > _m_min_hands_for_slower_update)
{
if (UpdateAllStats(chair))
return false;
else
{
write_log(preferences.debug_pokertracker(), "[PokerTracker] GetStatsForChair for chair [%d] had been skipped. Reason: [User has lots of hands]\n", chair);
return true;
}
}
return false;
}