/// <summary>
        /// Builds the daily routine functions
        /// </summary>
        /// <param name="inputNpc">Npc</param>
        /// <param name="dailyRoutine">Daily routine list</param>
        /// <returns>Function list</returns>
        private async Task <List <ScribanExportDailyRoutineFunction> > BuildDailyRoutineFunctions(KortistoNpc inputNpc, List <KortistoNpcDailyRoutineEvent> dailyRoutine)
        {
            if (dailyRoutine == null || !dailyRoutine.Any())
            {
                return(new List <ScribanExportDailyRoutineFunction>());
            }

            _dailyRoutineFunctionRenderer.SetErrorCollection(_errorCollection);
            _dailyRoutineFunctionRenderer.SetExportTemplatePlaceholderResolver(_templatePlaceholderResolver);

            List <DailyRoutineFunction> functions = await _dailyRoutineFunctionRenderer.RenderDailyRoutineFunctions(dailyRoutine, inputNpc);

            return(functions.Select(f => new ScribanExportDailyRoutineFunction(f)).ToList());
        }
 /// <summary>
 /// Sets the export template placeholder resolver
 /// </summary>
 /// <param name="templatePlaceholderResolver">Template placeholder resolver</param>
 public void SetExportTemplatePlaceholderResolver(IExportTemplatePlaceholderResolver templatePlaceholderResolver)
 {
     _dailyRoutineFunctionRenderer.SetExportTemplatePlaceholderResolver(templatePlaceholderResolver);
     _templatePlaceholderResolver = templatePlaceholderResolver;
 }
 /// <summary>
 /// Sets the export template placeholder resolver
 /// </summary>
 /// <param name="placeholderResolver">Placeholder Resolver</param>
 public void SetExportTemplatePlaceholderResolver(IExportTemplatePlaceholderResolver placeholderResolver)
 {
     _dailyRoutineFunctionRenderer.SetExportTemplatePlaceholderResolver(placeholderResolver);
     _eventContentPlaceholderResolver.SetExportTemplatePlaceholderResolver(placeholderResolver);
     _placeholderResolver = placeholderResolver;
 }