Artemis.Profiles.Layers.Models.KeyboardEventPropertiesModel.MustStop C# (CSharp) Метод

MustStop() публичный Метод

public MustStop ( LayerModel layer ) : bool
layer LayerModel
Результат bool
        public override bool MustStop(LayerModel layer)
        {
            if (ExpirationType != ExpirationType.Animation)
                return base.MustStop(layer);

            if (layer.LayerType is KeyboardGifType)
                return layer.GifImage?.CurrentFrame >= layer.GifImage?.FrameCount - 1;
            return (layer.LayerAnimation == null) || layer.LayerAnimation.MustExpire(layer);
        }
    }
KeyboardEventPropertiesModel