protected OnLoad ( TextBlock block ) : bool | ||
block | TextBlock | |
Результат | bool |
protected override bool OnLoad( TextBlock block )
{
//for compatibility with old versions.
if( block.IsAttributeExist( "initFaction" ) )
initialFaction = (FactionType)EntityTypes.Instance.GetByName(
block.GetAttribute( "initFaction" ) );
return base.OnLoad( block );
}