int MixerInput::GetInputChannelType(int channel) { if (channel < 0 || channel >= fInputChannelCount) return 0; return GetChannelType(channel, fInputChannelMask); }
bool MMatchChannel::CheckLifePeriod() { if (GetChannelType() == MCHANNEL_TYPE_PRESET) return true; if (GetObjCount() > 0) return true; if (GetEmptyPeriod() < MTICK_CHANNEL_EMPTY_PERIOD_LIMIT) return true; return false; }
bool MMatchChannel::CheckLifePeriod() { MCHANNEL_TYPE nType = GetChannelType(); if (nType == MCHANNEL_TYPE_PRESET || nType == MCHANNEL_TYPE_DUELTOURNAMENT) return true; if (GetObjCount() > 0) return true; if (GetEmptyPeriod() < MTICK_CHANNEL_EMPTY_PERIOD_LIMIT) return true; return false; }