Метод | Описание | |
---|---|---|
CollectValues ( TemplateType templateType, Template parsedTemplate, ScriptObject scriptObject, ExportObjectData data ) : Task |
Collects the values for an export
|
|
GetExportTemplatePlaceholdersForType ( TemplateType templateType ) : List |
Returns the Export Template Placeholders for a Template Type
|
|
InventoryValueCollector ( IExportCachedDbAccess exportCachedDbAccess, IScribanLanguageKeyGenerator languageKeyGenerator, IStringLocalizerFactory localizerFactory ) : System.Collections.Generic |
Constructor
|
|
IsValidForTemplateType ( TemplateType templateType ) : bool |
Returns true if the value collector is valid for a given template type
|
Метод | Описание | |
---|---|---|
LoadInventory ( Template parsedTemplate, KortistoNpc inputNpc ) : Task
|
Loads the inventory
|
public CollectValues ( TemplateType templateType, Template parsedTemplate, ScriptObject scriptObject, ExportObjectData data ) : Task | ||
templateType | TemplateType | Template type |
parsedTemplate | Template | Parsed scriban template |
scriptObject | ScriptObject | Scriban script object to fill |
data | ExportObjectData | Export Data |
Результат | Task |
public GetExportTemplatePlaceholdersForType ( TemplateType templateType ) : List |
||
templateType | TemplateType | Template Type |
Результат | List |
public InventoryValueCollector ( IExportCachedDbAccess exportCachedDbAccess, IScribanLanguageKeyGenerator languageKeyGenerator, IStringLocalizerFactory localizerFactory ) : System.Collections.Generic | ||
exportCachedDbAccess | IExportCachedDbAccess | Export cached database access |
languageKeyGenerator | IScribanLanguageKeyGenerator | Language key generator |
localizerFactory | IStringLocalizerFactory | Localizer Factory |
Результат | System.Collections.Generic |
public IsValidForTemplateType ( TemplateType templateType ) : bool | ||
templateType | TemplateType | Template type |
Результат | bool |