Table of Contents

Class BlueprintLibrary

Namespace
Root
Assembly
SPZGameAssembly.dll
public class BlueprintLibrary : IBlueprintLibrary
Inheritance
object
BlueprintLibrary
Implements
Extension Methods

Constructors

BlueprintLibrary(ILogger, IBlueprintImporter, IBlueprintExporter)

public BlueprintLibrary(ILogger logger, IBlueprintImporter blueprintImporter, IBlueprintExporter blueprintExporter)

Parameters

logger ILogger
blueprintImporter IBlueprintImporter
blueprintExporter IBlueprintExporter

Fields

FilenameSuffix

public const string FilenameSuffix = ".spz2bp"

Field Value

string

Properties

OnFullyRefreshed

public IEvent OnFullyRefreshed { get; }

Property Value

IEvent

OnShortcutsChanged

public IEvent OnShortcutsChanged { get; }

Property Value

IEvent

RootEntry

public BlueprintLibraryFolder RootEntry { get; }

Property Value

BlueprintLibraryFolder

Shortcuts

public IReadOnlyList<IBlueprintLibraryEntry> Shortcuts { get; }

Property Value

IReadOnlyList<IBlueprintLibraryEntry>

Methods

Dispose()

public void Dispose()

Refresh()

public void Refresh()

SanitizeName(string)

public string SanitizeName(string title)

Parameters

title string

Returns

string

TryBindShortcut(int, IBlueprintLibraryEntry)

public bool TryBindShortcut(int index, IBlueprintLibraryEntry entry)

Parameters

index int
entry IBlueprintLibraryEntry

Returns

bool

TryCreateFolder(string, BlueprintLibraryFolder)

public bool TryCreateFolder(string name, BlueprintLibraryFolder parent)

Parameters

name string
parent BlueprintLibraryFolder

Returns

bool

TryMoveEntry(IBlueprintLibraryEntry, BlueprintLibraryFolder)

public bool TryMoveEntry(IBlueprintLibraryEntry entry, BlueprintLibraryFolder newParent)

Parameters

entry IBlueprintLibraryEntry
newParent BlueprintLibraryFolder

Returns

bool

TryRemoveEntry(IBlueprintLibraryEntry)

public bool TryRemoveEntry(IBlueprintLibraryEntry entry)

Parameters

entry IBlueprintLibraryEntry

Returns

bool

TryRenameEntry(IBlueprintLibraryEntry, string)

public bool TryRenameEntry(IBlueprintLibraryEntry entry, string newTitle)

Parameters

entry IBlueprintLibraryEntry
newTitle string

Returns

bool

TrySaveChangedBlueprint(BlueprintLibraryEntry)

public bool TrySaveChangedBlueprint(BlueprintLibraryEntry entry)

Parameters

entry BlueprintLibraryEntry

Returns

bool

TrySaveEntry(string, IAnnotatedBlueprint, BlueprintLibraryFolder, bool, int)

public bool TrySaveEntry(string name, IAnnotatedBlueprint blueprint, BlueprintLibraryFolder parent, bool allowOverride, int version)

Parameters

name string
blueprint IAnnotatedBlueprint
parent BlueprintLibraryFolder
allowOverride bool
version int

Returns

bool