mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-15 18:42:34 +00:00
feat: cancel join
This commit is contained in:
@@ -214,6 +214,7 @@ private:
|
|||||||
int GetJoiningReadyPercentage();
|
int GetJoiningReadyPercentage();
|
||||||
bool m_bLastDisconnectWasLostRoomOnly;
|
bool m_bLastDisconnectWasLostRoomOnly;
|
||||||
bool m_bFullSessionMessageOnNextSessionChange;
|
bool m_bFullSessionMessageOnNextSessionChange;
|
||||||
|
bool m_bCancelRequested;
|
||||||
#if defined __PS3__ || defined __PSVITA__ || defined __ORBIS__
|
#if defined __PS3__ || defined __PSVITA__ || defined __ORBIS__
|
||||||
bool m_bSignedOutofPSN;
|
bool m_bSignedOutofPSN;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -287,7 +287,11 @@ void UIScene_FullscreenProgress::handleInput(int iPad, int key, bool repeat, boo
|
|||||||
case ACTION_MENU_CANCEL:
|
case ACTION_MENU_CANCEL:
|
||||||
if( pressed && m_cancelFunc != nullptr && !m_bWasCancelled )
|
if( pressed && m_cancelFunc != nullptr && !m_bWasCancelled )
|
||||||
{
|
{
|
||||||
|
m_cancelText = -1;
|
||||||
|
updateTooltips();
|
||||||
|
|
||||||
m_bWasCancelled = true;
|
m_bWasCancelled = true;
|
||||||
|
|
||||||
m_cancelFunc( m_cancelFuncParam );
|
m_cancelFunc( m_cancelFuncParam );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user