sta / websocket-sharp

A C# implementation of the WebSocket protocol client and server
http://sta.github.io/websocket-sharp
MIT License
5.73k stars 1.66k forks source link

how do i check if the sender of the message has a value from the behaviour #678

Open sabuto opened 3 years ago

sabuto commented 3 years ago

So in my behaviour i have

private List<string>? _events

which contains a list of things in the

protected override void OnMessage(MessageEventArgs e)

how do i check if the sender of the message has a certain one of these and then how would i get a list of id's to be able to send to that also has these I hope this makes sense