MatchMakingLobby/Services/MatchMakingService.php
function registerMatchServer($serverLogin, $lobbyLogin, $state, $scriptName, $titleIdString, $currentMap)
	{
		$this->db->execute(
			'INSERT INTO MatchServers (login, lobbyLogin, state, lastLive, scriptName, titleIdString, currentMap) '.
			'VALUES(%s, %s, %d, NOW(), %s, %s, %s) '.
			'ON DUPLICATE KEY UPDATE state=VALUES(state), lobbyLogin=VALUES(lobbyLogin), lastLive=VALUES(lastLive), currentMap=VALUES(currentMap)',
			$this->db->quote($serverLogin),
			$this->db->quote($lobbyLogin),
			$state,
			$this->db->quote($scriptName),
			$this->db->quote($titleIdString),
			$this->db->quote($currentMap)
		);
	}
function registerMatchServer($serverLogin, $lobbyLogin, $state, $scriptName, $titleIdString, $currentMap)
	{
		$this->db->execute(
			'INSERT INTO MatchServers (login, lobbyLogin, state, lastLive, scriptName, titleIdString, currentMap) '.
			'VALUES(%s, %s, %d, NOW(), %s, %s, %s) '.
			'ON DUPLICATE KEY UPDATE state=VALUES(state), lobbyLogin=VALUES(lobbyLogin), lastLive=VALUES(lastLive), currentMap=VALUES(currentMap)',
			$this->db->quote($serverLogin),
			$this->db->quote($lobbyLogin),
			$state,
			$this->db->quote($scriptName),
			$this->db->quote($titleIdString),
			$this->db->quote($currentMap)
		);
	}
function registerMatchServer ( $ serverLogin , $ lobbyLogin , $ state , $ scriptName , $ titleIdString , $ currentMap ) { $ this -> db -> execute ( 'INSERT INTO MatchServers (login, lobbyLogin, state, lastLive, scriptName, titleIdString, currentMap) ' . 'VALUES(%s, %s, %d, NOW(), %s, %s, %s) ' . 'ON DUPLICATE KEY UPDATE state=VALUES(state), lobbyLogin=VALUES(lobbyLogin), lastLive=VALUES(lastLive), currentMap=VALUES(currentMap)' , $ this -> db -> quote ( $ serverLogin ) , $ this -> db -> quote ( $ lobbyLogin ) , $ state , $ this -> db -> quote ( $ scriptName ) , $ this -> db -> quote ( $ titleIdString ) , $ this -> db -> quote ( $ currentMap ) ) ; }
Register a server as match server
@param string $serverLogin
@param string $lobbyLogin
@param string $state
Register a server as match server