Class ExactlyOnePerHostAttribute
Put this tag on a civic object to say that when there are orphans of this type, we should make sure that the player chooses exacly one of them to set on the host object. This is usually used with classes that implement the IHostedObject interface.
Inheritance
System.Object
ExactlyOnePerHostAttribute
Namespace: Eco.Gameplay.Civics.Misc
Assembly: Eco.Gameplay.dll
Syntax
public class ExactlyOnePerHostAttribute : Attribute
Constructors
ExactlyOnePerHostAttribute()
Declaration
public ExactlyOnePerHostAttribute()