So If I have the code as below :
- Code: Select all
public void TimeTick()
{
Broadcast("NewEvent", param1,param2);
}
And currently, there are two room, room 1 in server 1, room 2 in server 2
Will this code broadcast "NewEvent" message to two room ?
Or I should join to 2 rooms and excute that above code ?
I also confuse the way PlayerIO do with server side code.
I currently "know" that
The server side code in dll will be copy to many server, and in each server it runs and create its room.
so if I want to collect how many users are playing, I should join to all of room and count it.
Is my know right ?
Thanks.