Ejemplo n.º 1
0
int CBaseEntity::Save(CSave &save)
{
	if(save.WriteEntVars("ENTVARS", pev))
		return save.WriteFields("BASE", this, m_SaveData, ARRAYSIZE(m_SaveData));

	return 0;
}
Ejemplo n.º 2
0
int CBaseEntity::Save( CSave &save )
{
	int res;

	if ( save.WriteEntVars( "ENTVARS", pev ) )
	{
		res = save.WriteFields( "BASE", this, m_SaveData, ARRAYSIZE(m_SaveData) );

		//LLAPb begin
		if (res)
		{
			//Find function "SAVE", store an array, returned by it
		}
		//LLAPb end
	}

	return res;
}