game/shared/econ/econ_item_schema.cpp
FOR_EACH_VEC( m_ItemEntries, i )
	{
		const CEconItemDefinition* pItemDef = GetItemSchema()->GetItemDefinition( m_ItemEntries[i].m_nItemDef );
		if ( !pItemDef )
			continue;
		pLootListKV->SetFloat( pItemDef->GetRawDefinition()->GetString( "name" ), m_flWeights[i] );
	}
// Write out our items and weights.
Write out our items and weights.
Write out our items and weights .
FOR_EACH_VEC( m_ItemEntries, i )
	{
		const CEconItemDefinition* pItemDef = GetItemSchema()->GetItemDefinition( m_ItemEntries[i].m_nItemDef );
		if ( !pItemDef )
			continue;
		pLootListKV->SetFloat( pItemDef->GetRawDefinition()->GetString( "name" ), m_flWeights[i] );
	}
FOR_EACH_VEC ( m_ItemEntries , i ) { const CEconItemDefinition * pItemDef = GetItemSchema ( ) -> GetItemDefinition ( m_ItemEntries [ i ] . m_nItemDef ) ; if ( ! pItemDef ) continue ; pLootListKV -> SetFloat ( pItemDef -> GetRawDefinition ( ) -> GetString ( " " ) , m_flWeights [ i ] ) ; }
Write out our items and weights.
Write out our items and weights .