game/shared/econ/econ_item_schema.cpp
const CEconItemDefinition *CEconItemSchema::GetItemDefinitionByMapIndex( int iMapIndex ) const
{
	if ( m_mapItems.IsValidIndex( iMapIndex ) )
		return m_mapItems[iMapIndex];

	return NULL;
}
//-----------------------------------------------------------------------------
// Purpose:	Gets an item definition for the specified map index
//-----------------------------------------------------------------------------
Gets an item definition for the specified map index
Gets an item definition for the specified map index
const CEconItemDefinition *CEconItemSchema::GetItemDefinitionByMapIndex( int iMapIndex ) const
{
	if ( m_mapItems.IsValidIndex( iMapIndex ) )
		return m_mapItems[iMapIndex];
	return NULL;
}
const CEconItemDefinition * CEconItemSchema :: GetItemDefinitionByMapIndex ( int iMapIndex ) const { if ( m_mapItems . IsValidIndex ( iMapIndex ) ) return m_mapItems [ iMapIndex ] ; return NULL ; }
Purpose:       Gets an item definition for the specified map index
Purpose : Gets an item definition for the specified map index