Sending broadcast inside OnJoin event in photon server plugin

Options
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

Comments

  • chvetsov
    Options
    hi, atworld

    yes, they should be send through info.Continue() call

    so, your broadcast will reach them after that

    best,
    ilya