Add ComponentEventAttribute to AfterAutoHandleStateEvent (#5243)

This commit is contained in:
Leon Friedrich
2024-06-16 03:32:19 +12:00
committed by GitHub
parent 76eeebf439
commit 3a479cb5f4

View File

@@ -39,5 +39,5 @@ public sealed class AutoNetworkedFieldAttribute : Attribute
/// <see cref="AutoGenerateComponentStateAttribute.RaiseAfterAutoHandleState"/> is true, so that other systems
/// can have effects after handling state without having to redefine all replication.
/// </summary>
[ByRefEvent]
[ByRefEvent, ComponentEvent]
public record struct AfterAutoHandleStateEvent(IComponentState State);