src/Neuron/GameServer/Player/Guide.php
public function addMessage ($template, $data, $character = 'guide', $mood = 'neutral', $highlight = '')
	{
		$db = Neuron_DB_Database::getInstance ();
		
		$data = Neuron_GameServer_LogSerializer::encode ($data);
		
		$db->query
		("
			INSERT INTO
				n_players_guide
			SET
				plid = {$this->objProfile->getId ()},
				pg_template = '{$db->escape ($template)}',
				pg_character = '{$db->escape ($character)}',
				pg_mood = '{$db->escape ($mood)}',
				pg_data = '{$db->escape ($data)}',
				pg_highlight = '{$db->escape ($highlight)}'
		");
	}
public function addMessage ($template, $data, $character = 'guide', $mood = 'neutral', $highlight = '')
	{
		$db = Neuron_DB_Database::getInstance ();
		
		$data = Neuron_GameServer_LogSerializer::encode ($data);
		
		$db->query
		("
			INSERT INTO
				n_players_guide
			SET
				plid = {$this->objProfile->getId ()},
				pg_template = '{$db->escape ($template)}',
				pg_character = '{$db->escape ($character)}',
				pg_mood = '{$db->escape ($mood)}',
				pg_data = '{$db->escape ($data)}',
				pg_highlight = '{$db->escape ($highlight)}'
		");
	}
public function addMessage ( $ template , $ data , $ character = 'guide' , $ mood = 'neutral' , $ highlight = '' ) { $ db = Neuron_DB_Database :: getInstance ( ) ; $ data = Neuron_GameServer_LogSerializer :: encode ( $ data ) ; $ db -> query ( "
			INSERT INTO
				n_players_guide
			SET
				plid = {$this->objProfile->getId ()},
				pg_template = '{$db->escape ($template)}',
				pg_character = '{$db->escape ($character)}',
				pg_mood = '{$db->escape ($mood)}',
				pg_data = '{$db->escape ($data)}',
				pg_highlight = '{$db->escape ($highlight)}'
		" ) ; }
/*
Quests
/ * Quests