mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* MachineConfig.cpp
|
||||
* Copyright (c) 2013 ROBLOX Corp. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "MachineConfig.h"
|
||||
|
||||
// Roblox Headers
|
||||
#include "MachineConfiguration.h"
|
||||
|
||||
// Roblox Studio Headers
|
||||
#include "RobloxSettings.h"
|
||||
|
||||
MachineConfig* MachineConfig::machineConfig = NULL;
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void MachineConfig::PostMachineConfiguration(bool authSuccess)
|
||||
{
|
||||
if(authSuccess)
|
||||
{
|
||||
disconnect(&AuthenticationHelper::Instance(), SIGNAL(authenticationDone(bool)), machineConfig, SLOT(PostMachineConfiguration(bool)));
|
||||
|
||||
RobloxSettings settings;
|
||||
int lastGfxMode = settings.contains("lastGFXMode") ? settings.value("lastGFXMode").toInt() : 0;
|
||||
|
||||
RBX::postMachineConfiguration(RobloxSettings::getBaseURL().toLocal8Bit().constData(), lastGfxMode);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
Reference in New Issue
Block a user