game/shared/econ/econ_item_schema.cpp
bool CEconItemSchema::BInitQuestRewardLootLists( KeyValues *pKVLootLists, CUtlVector<CUtlString> *pVecErrors )
{
	m_mapQuestRewardLootLists.Purge();

	if ( NULL != pKVLootLists )
	{
		FOR_EACH_SUBKEY( pKVLootLists, pKVList )
		{
			int iListIdx = atoi( pKVList->GetName() );
			const char* strListName = pKVList->GetString();
			m_mapQuestRewardLootLists.Insert( iListIdx, strListName );
		}
	}

	return SCHEMA_INIT_SUCCESS();
}
//-----------------------------------------------------------------------------
// Purpose:	Initializes the quest reward loot lists section of the schema
//-----------------------------------------------------------------------------
Initializes the quest reward loot lists section of the schema
Initializes the quest reward loot lists section of the schema
bool CEconItemSchema::BInitQuestRewardLootLists( KeyValues *pKVLootLists, CUtlVector<CUtlString> *pVecErrors )
{
	m_mapQuestRewardLootLists.Purge();
	if ( NULL != pKVLootLists )
	{
		FOR_EACH_SUBKEY( pKVLootLists, pKVList )
		{
			int iListIdx = atoi( pKVList->GetName() );
			const char* strListName = pKVList->GetString();
			m_mapQuestRewardLootLists.Insert( iListIdx, strListName );
		}
	}
	return SCHEMA_INIT_SUCCESS();
}
bool CEconItemSchema :: BInitQuestRewardLootLists ( KeyValues * pKVLootLists , CUtlVector < CUtlString > * pVecErrors ) { m_mapQuestRewardLootLists . Purge ( ) ; if ( NULL != pKVLootLists ) { FOR_EACH_SUBKEY ( pKVLootLists , pKVList ) { int iListIdx = atoi ( pKVList -> GetName ( ) ) ; const char * strListName = pKVList -> GetString ( ) ; m_mapQuestRewardLootLists . Insert ( iListIdx , strListName ) ; } } return SCHEMA_INIT_SUCCESS ( ) ; }
Purpose:       Initializes the quest reward loot lists section of the schema
Purpose : Initializes the quest reward loot lists section of the schema