Show / Hide Table of Contents

Class Blueprint<TRef>

Wrapper for easy referencing of blueprints.

Inheritance
System.Object
Blueprint<TRef>
Namespace: BlueprintCore.Utils
Assembly: BlueprintCore.dll
Syntax
public class Blueprint<TRef>
    where TRef : BlueprintReferenceBase
Type Parameters
Name Description
TRef
Remarks

Provides implicit constructors mapping different types to a blueprint. This is used in the library to provide flexibility when passing in blueprint as method parameters.

Fields

| Improve this Doc View Source

Reference

Declaration
public readonly TRef Reference
Field Value
Type Description
TRef

Methods

| Improve this Doc View Source

Cast<T>()

Declaration
public Blueprint<T> Cast<T>()
    where T : BlueprintReferenceBase
Returns
Type Description
Blueprint<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Operators

| Improve this Doc View Source

Implicit(TRef to Blueprint<TRef>)

Declaration
public static implicit operator Blueprint<TRef>(TRef blueprintReference)
Parameters
Type Name Description
TRef blueprintReference
Returns
Type Description
Blueprint<TRef>
| Improve this Doc View Source

Implicit(BlueprintGuid to Blueprint<TRef>)

Declaration
public static implicit operator Blueprint<TRef>(BlueprintGuid guid)
Parameters
Type Name Description
Kingmaker.Blueprints.BlueprintGuid guid
Returns
Type Description
Blueprint<TRef>
| Improve this Doc View Source

Implicit(SimpleBlueprint to Blueprint<TRef>)

Declaration
public static implicit operator Blueprint<TRef>(SimpleBlueprint blueprint)
Parameters
Type Name Description
Kingmaker.Blueprints.SimpleBlueprint blueprint
Returns
Type Description
Blueprint<TRef>
| Improve this Doc View Source

Implicit(Guid to Blueprint<TRef>)

Declaration
public static implicit operator Blueprint<TRef>(Guid guid)
Parameters
Type Name Description
System.Guid guid
Returns
Type Description
Blueprint<TRef>
| Improve this Doc View Source

Implicit(String to Blueprint<TRef>)

Declaration
public static implicit operator Blueprint<TRef>(string nameOrGuid)
Parameters
Type Name Description
System.String nameOrGuid
Returns
Type Description
Blueprint<TRef>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX