コード例 #1
0
void CRebuyManagement::TryToRebuy() {
	 write_log(preferences.debug_rebuy(), "[CRebuyManagement] TryToRebuy()\n");
	if (RebuyPossible()) {
		RebuyLastTime = CurrentTime;		
		PreviousRebuyHandNumber = p_handreset_detector->GetHandNumber();
		ExecuteRebuyScript();
	}
}	
コード例 #2
0
bool CRebuyManagement::TryToRebuy() {
	write_log(Preferences()->debug_rebuy(), "[CRebuyManagement] TryToRebuy()\n");
	if (RebuyPossible()) {
		RebuyLastTime = CurrentTime;		
		PreviousRebuyHandNumber = p_handreset_detector->GetHandNumber();
		ExecuteRebuyScript();
    return true;
	}
  return false;
}