Example #1
0
 /// <summary>
 /// Broadcast to target(in current gameserver) client.
 /// </summary>
 public T Target(IPhotonWirePeer peer)
 {
     return(TypedServerHubClientBuilder <T> .Build(context, (IS2SPhotonWirePeer)peer));
 }
Example #2
0
 internal GroupInvoker(IServerHubContext context, IEnumerable <IPhotonWirePeer> peers)
 {
     this.proxies = peers.Select(x => Tuple.Create(x, TypedServerHubClientBuilder <T> .Build(context, (IS2SPhotonWirePeer)x)));
 }