Show / Hide Table of Contents

Interface IFactoryObject<TBlueprintID>

Interface that can optionally be implemented by objects created via a Factory<TBlueprintID, TProduced> or AdvancedFactory<TBlueprintID, TBlueprintConfig, TProduced>. The DefinitionID property will be automatically set to the ID of the blueprint used to create the object when the factory's Create function is called.

Namespace: GoRogue.Factories
Assembly: GoRogue.dll
Syntax
public interface IFactoryObject<TBlueprintID>
Type Parameters
Name Description
TBlueprintID

Properties

View Source

DefinitionID

The identifier of the blueprint that created this object. Do not set manually -- the factory will automatically set this field when the object is created.

Declaration
TBlueprintID DefinitionID { get; set; }
Property Value
Type Description
TBlueprintID

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX