Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement targeted event sending #73

Open
ImmutableOctet opened this issue Apr 28, 2024 · 0 comments
Open

Implement targeted event sending #73

ImmutableOctet opened this issue Apr 28, 2024 · 0 comments
Assignees
Labels
Feature New feature or request Idea Ideas, concepts, etc. (for features without a clear scope yet)

Comments

@ImmutableOctet
Copy link
Owner

The idea would be that an event could be received only by the targeted entity. We would do this by filtering to only trigger yield operations of Entity Threads of the targeted entity. This could be achieved using either a MetaAny or a templated wrapper type to hold the event. We could then listen for those targeted events in the Entity System, dispatching accordingly.

This would be useful for messages between entities, and could be extended further to networking concepts like messages to/from a specific player.

@ImmutableOctet ImmutableOctet added Feature New feature or request Idea Ideas, concepts, etc. (for features without a clear scope yet) labels Apr 28, 2024
@ImmutableOctet ImmutableOctet self-assigned this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Idea Ideas, concepts, etc. (for features without a clear scope yet)
Projects
None yet
Development

No branches or pull requests

1 participant