anchor.diff:  		{reason, Reason},
   		{cookie, Cookie},
   		{udpPort, UdpPort},
  -		{tcpPort, 6007},
  -		{characters, ["Character 1", "Character 2", "Character 3"]} % TODO: Replace this with generated var list
  +		{tcpPort, 6007}
   	]},
   	Response = #envelope{id = Id, type = response, contents = LoginRep,
   		channel = <<"control">>},
  
positive.code: 		{type, <<"setZone">>},
  		{level, LevelUrl}
  	]},
  	pre_client_connection:send(Connection, tcp, event, level, LoadLevel),
  
  	?info("Creating entity for client ~p.", [State#state.client_info]),
  	pre_client_connection:set_inhabited_entity(Connection, pre_entity_engine_sup:create_entity(entity_ship)),
  	{ok, undefined};
  
  
  service_control_message(event, <<"logout">>, _, _, _) ->
  	?info("Got logout event from client."),
  	exit(normal).
  
  %% ------------------------------------------------------------------
  
  
negative.code: 
  send(Pid, Socket, Type, Channel, Json) when Socket == udp; Socket == ssl; Socket == tcp ->
  	gen_server:cast(Pid, {send, Socket, Type, Channel, Json}).
  
  %% ------------------------------------------------------------------
  
  %% @doc Respond to a message from the client over a given channel.
  
  -spec respond(Pid, Socket, Id, Channel, Json) -> 'ok' when
  	Pid :: pid() | #client_info{},
  	Socket :: 'udp' | 'ssl' | 'tcp',
  	Id :: message_id(),
  	Channel :: binary(),
  	Json :: json().
  
  respond(Pid, Socket, Id, Channel, Json) ->
  	send(Pid, Socket, {'response', Id}, Channel, Json).
  
  %% ------------------------------------------------------------------
  
  