Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Sending broadcast inside OnJoin event in photon server plugin

$
0
0
Hi
I figure out that photon Load Balancing is synchronous.
I am trying to send broadcast from my server plugin to players when 2 users joined to the room.but each player need to next player custom properties.
my question is that if i call broadcast after info.continue() are custom properties of new joined player will be send to next player before sending my broadcast or not?
Is it possible that custom properties be delivered after broadcast?

Example:
public override void OnJoin(IJoinGameCallInfo info)
{
// if (info.userId == second player userId)

// New custom actor properties will set
info.Continue();
Broadcast(evStartGameAndGetOppponentInfo, null);
}

Thanks

Viewing all articles
Browse latest Browse all 15755

Trending Articles