Table of Contents

Class EventModelAttribute

Namespace
Uncreated.Warfare.Events
Assembly
Uncreated.Warfare.dll

Optional configuration for event models.

[AttributeUsage(AttributeTargets.Class)]
public class EventModelAttribute : Attribute
Inheritance
EventModelAttribute
Inherited Members

Constructors

EventModelAttribute(EventSynchronizationContext)

public EventModelAttribute(EventSynchronizationContext sync)

Parameters

sync EventSynchronizationContext

Properties

SynchronizationContext

Describes how other events of the same type can run while this one is running.

public EventSynchronizationContext SynchronizationContext { get; set; }

Property Value

EventSynchronizationContext

SynchronizedModelTags

List of tags that this model is synchronized with. Other models must also share at least one of these tags to be synchronized.

public string[]? SynchronizedModelTags { get; set; }

Property Value

string[]