Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
17 lines
301 B
C++
17 lines
301 B
C++
#include "stdafx.h"
|
|
#include "ProgressFlagTask.h"
|
|
|
|
bool ProgressFlagTask::isCompleted()
|
|
{
|
|
switch( m_type )
|
|
{
|
|
case e_Progress_Set_Flag:
|
|
(*flags) |= m_mask;
|
|
bIsCompleted = true;
|
|
break;
|
|
case e_Progress_Flag_On:
|
|
bIsCompleted = ((*flags) & m_mask) == m_mask;
|
|
break;
|
|
}
|
|
return bIsCompleted;
|
|
} |