parameters: (gamespec, full_data_set)
docstring: Extract building connections from the game data.
  
          :param gamespec: Gamedata from empires.dat file.
          :type gamespec: class: ...dataformat.value_members.ArrayMember
docstring_summary: Extract building connections from the game data.
docstring_tokens: Extract building connections from the game data .
function: def extract_building_connections(gamespec, full_data_set):
          """
          Extract building connections from the game data.
  
          :param gamespec: Gamedata from empires.dat file.
          :type gamespec: class: ...dataformat.value_members.ArrayMember
          """
          # call hierarchy: wrapper[0]->building_connections
          raw_connections = gamespec[0]["building_connections"].get_value()
  
          for raw_connection in raw_connections:
              building_id = raw_connection["id"].get_value()
              connection_members = raw_connection.get_value()
  
              connection = GenieBuildingConnection(building_id, full_data_set,
                                                   members=connection_members)
              full_data_set.building_connections.update({connection.get_id(): connection})
function_tokens: def extract_building_connections ( gamespec , full_data_set ) : # call hierarchy: wrapper[0]->building_connections raw_connections = gamespec [ 0 ] [ "building_connections" ] . get_value ( ) for raw_connection in raw_connections : building_id = raw_connection [ "id" ] . get_value ( ) connection_members = raw_connection . get_value ( ) connection = GenieBuildingConnection ( building_id , full_data_set , members = connection_members ) full_data_set . building_connections . update ( { connection . get_id ( ) : connection } )