Navite API functionality "OpRaiseEvent" alike?
Options
Hi,
I've tried to find the implementation of "OpRaiseEvent" in Lite and Lite Lobby demos, but the code is so huge and undocumented, that I got totally lost...
Is there a native functionality where a client can send Event to server, which will then, if something is true, can notify/send messages to ALL/Group of available clients?
Thanks
I've tried to find the implementation of "OpRaiseEvent" in Lite and Lite Lobby demos, but the code is so huge and undocumented, that I got totally lost...
Is there a native functionality where a client can send Event to server, which will then, if something is true, can notify/send messages to ALL/Group of available clients?
Thanks
0
Comments
-
I'm not sure if I understand you correctly:
You are looking for OpRaiseEvent in the DotNet client library? Or you are looking for it's handling in the server side?
The server code for handling RaiseEvent is in the LiteGame.cs - a method named HandleRaiseEventOperation.0 -
Thanks. Now I got the idea.
You store all players in this.Actors, and then in a loop you send them all the same event raised by the server.0