src/Neuron/GameServer.php
public static function addMapUpdate ($x, $y, $action)
	{
		switch ($action)
		{
			case 'BUILD':
			case 'DESTROY':

				break;

			default:
				$action = 'BUILD';
				break;
		}

		$db = Neuron_DB_Database::getInstance ();

		$x = intval ($x);
		$y = intval ($y);

		$db->query
		("
			INSERT INTO
				n_map_updates
			SET
				mu_action = '{$action}',
				mu_x = {$x},
				mu_y = {$y},
				mu_date = FROM_UNIXTIME(".NOW.")
		");
	}
public static function addMapUpdate ($x, $y, $action)
	{
		switch ($action)
		{
			case 'BUILD':
			case 'DESTROY':

				break;

			default:
				$action = 'BUILD';
				break;
		}

		$db = Neuron_DB_Database::getInstance ();

		$x = intval ($x);
		$y = intval ($y);

		$db->query
		("
			INSERT INTO
				n_map_updates
			SET
				mu_action = '{$action}',
				mu_x = {$x},
				mu_y = {$y},
				mu_date = FROM_UNIXTIME(".NOW.")
		");
	}
public static function addMapUpdate ( $ x , $ y , $ action ) { switch ( $ action ) { case 'BUILD' : case 'DESTROY' : break ; default : $ action = 'BUILD' ; break ; } $ db = Neuron_DB_Database :: getInstance ( ) ; $ x = intval ( $ x ) ; $ y = intval ( $ y ) ; $ db -> query ( "
			INSERT INTO
				n_map_updates
			SET
				mu_action = '{$action}',
				mu_x = {$x},
				mu_y = {$y},
				mu_date = FROM_UNIXTIME(" . NOW . ")
		" ) ; }
/*
Map logs
/ * Map logs