/// <summary> /// Returns the Export Template Placeholders for a Template Type /// </summary> /// <param name="templateType">Template Type</param> /// <returns>Export Template Placeholder</returns> public override List <ExportTemplatePlaceholder> GetExportTemplatePlaceholdersForType(TemplateType templateType) { string languageKeyValueDesc = string.Format("{0}.{1}.{2} | field.{3}", ExportConstants.ScribanActionObjectKey, StandardMemberRenamer.Rename(nameof(ScribanLearnForgetSkillActionData.Skill)), StandardMemberRenamer.Rename(nameof(ScribanLearnForgetSkillActionData.Skill.Name)), StandardMemberRenamer.Rename(nameof(ScribanFlexFieldField.Value))); return(ScribanActionRenderingUtil.GetExportTemplatePlaceholdersForType <ScribanLearnForgetSkillActionData>(_localizerFactory, _scribanLanguageKeyGenerator, languageKeyValueDesc)); }
/// <summary> /// Returns the Export Template Placeholders for a Template Type /// </summary> /// <param name="templateType">Template Type</param> /// <returns>Export Template Placeholder</returns> public override List <ExportTemplatePlaceholder> GetExportTemplatePlaceholdersForType(TemplateType templateType) { string languageKeyValueDesc = string.Format("{0}.{1}.{2} | {0}.{3}", ExportConstants.ScribanActionObjectKey, StandardMemberRenamer.Rename(nameof(ScribanShowFloatingTextActionData.TargetNpc)), StandardMemberRenamer.Rename(nameof(ScribanShowFloatingTextActionData.TargetNpc.Name)), StandardMemberRenamer.Rename(nameof(ScribanShowFloatingTextActionData.Text))); return(ScribanActionRenderingUtil.GetExportTemplatePlaceholdersForType <ScribanShowFloatingTextActionData>(_localizerFactory, _scribanLanguageKeyGenerator, languageKeyValueDesc)); }
/// <summary> /// Returns the Export Template Placeholders for a Template Type /// </summary> /// <param name="templateType">Template Type</param> /// <returns>Export Template Placeholder</returns> public override List <ExportTemplatePlaceholder> GetExportTemplatePlaceholdersForType(TemplateType templateType) { string languageKeyValueDesc = string.Format("{0}.{1}.{2} | {0}.{3}.{4} | field.{5}", ExportConstants.ScribanActionObjectKey, StandardMemberRenamer.Rename(nameof(ScribanMoveNpcToNpcActionBaseData.Npc)), StandardMemberRenamer.Rename(nameof(ScribanMoveNpcToNpcActionBaseData.Npc.Name)), StandardMemberRenamer.Rename(nameof(ScribanMoveNpcToNpcActionBaseData.TargetNpc)), StandardMemberRenamer.Rename(nameof(ScribanMoveNpcToNpcActionBaseData.TargetNpc.Name)), StandardMemberRenamer.Rename(nameof(ScribanFlexFieldField.Value))); if (_isTeleport) { return(ScribanActionRenderingUtil.GetExportTemplatePlaceholdersForType <ScribanMoveNpcToNpcActionBaseData>(_localizerFactory, _scribanLanguageKeyGenerator, languageKeyValueDesc)); } else { return(ScribanActionRenderingUtil.GetExportTemplatePlaceholdersForType <ScribanMoveNpcToNpcActionData>(_localizerFactory, _scribanLanguageKeyGenerator, languageKeyValueDesc)); } }