game/shared/econ/econ_item_schema.cpp
bool CEconItemSchema::BInitBinaryBuffer( CUtlBuffer &buffer, CUtlVector<CUtlString> *pVecErrors /* = NULL */ )
{
	Reset();
	m_pKVRawDefinition = new KeyValues( "CEconItemSchema" );
	m_pKVRawDefinition->UsesEscapeSequences( true );
	if ( m_pKVRawDefinition->ReadAsBinary( buffer ) )
	{
		return BInitSchema( m_pKVRawDefinition, pVecErrors );
	}
	if ( pVecErrors )
	{
		pVecErrors->AddToTail( "Error parsing keyvalues" );
	}
	return false;
}
//-----------------------------------------------------------------------------
// Initializes the schema, given KV in binary form
//-----------------------------------------------------------------------------
Initializes the schema, given KV in binary form
Initializes the schema given KV in binary form
bool CEconItemSchema::BInitBinaryBuffer( CUtlBuffer &buffer, CUtlVector<CUtlString> *pVecErrors  )
{
	Reset();
	m_pKVRawDefinition = new KeyValues( "CEconItemSchema" );
	m_pKVRawDefinition->UsesEscapeSequences( true );
	if ( m_pKVRawDefinition->ReadAsBinary( buffer ) )
	{
		return BInitSchema( m_pKVRawDefinition, pVecErrors );
	}
	if ( pVecErrors )
	{
		pVecErrors->AddToTail( "Error parsing keyvalues" );
	}
	return false;
}
bool CEconItemSchema :: BInitBinaryBuffer ( CUtlBuffer & buffer , CUtlVector < CUtlString > * pVecErrors ) { Reset ( ) ; m_pKVRawDefinition = new KeyValues ( " " ) ; m_pKVRawDefinition -> UsesEscapeSequences ( true ) ; if ( m_pKVRawDefinition -> ReadAsBinary ( buffer ) ) { return BInitSchema ( m_pKVRawDefinition , pVecErrors ) ; } if ( pVecErrors ) { pVecErrors -> AddToTail ( " " ) ; } return false ; }
Initializes the schema, given KV in binary form
Initializes the schema given KV in binary form
/* = NULL */