Skip to content

Event System (.NET Native) #16

@doshibadev

Description

@doshibadev

Overview

Create .NET-native equivalent of event system using observer/event patterns idiomatic to C#.

Package

com.hytale.event.*

Priority & Difficulty

⚠️ Medium Priority | 🟡 Medium | ⏱️ 1-2 weeks

Acceptance Criteria

  • Event bus architecture
  • Strongly-typed events
  • Priority/ordering support
  • Async event handlers
  • Cancellable events
  • Performance profiling

Design Considerations

public interface IEventBus 
{
    void Subscribe<TEvent>(Action<TEvent> handler) where TEvent : IEvent;
    Task PublishAsync<TEvent>(TEvent @event) where TEvent : IEvent;
}

Consider: System.Reactive (Rx.NET), MediatR pattern, or custom implementation

Dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: 🟡 MediumModerate complexity - 1-2 weeks of workPriority: ⚠️ MediumImportant but not blocking - work on after high priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    📝 To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions