Sources/CryGame C++/Solution1/CryGame/ScriptObjectLanguage.cpp
//////////////////////////////////////////////////////////////////////
/*! retrieve the id of a specified string
		@param szKey the string value
		@return the numeric id representing the string
*/
retrieve the id of a specified string
@param szKey the string value
@return the numeric id representing the string
retrieve the id of a specified string @param szKey the string value @return the numeric id representing the string
int CScriptObjectLanguage::GetStringID(const char *szKey)
{
	int nRes;
	if (m_pScriptThis->GetValue(szKey,nRes))
		return (nRes);
	return (-1);
}
int CScriptObjectLanguage :: GetStringID ( const char * szKey ) { int nRes ; if ( m_pScriptThis -> GetValue ( szKey , nRes ) ) return ( nRes ) ; return ( -1 ) ; }
retrieve the id of a specified string
@param szKey the string value
@return the numeric id representing the string
retrieve the id of a specified string @param szKey the string value @return the numeric id representing the string