public void JudgingReady(Guid roundId, Player judge, Player[] players) { var data = new RoundStart { round_id = roundId, players = players }; var request = new ObjectPusherRequest( judge.private_channel, "game-judging-ready", data); server.Trigger(request); }
public void RoundStarted(Guid roundId, string imageUrl, Player[] players) { var data = new RoundStart { round_id = roundId, image_url = imageUrl, players = players }; var request = new ObjectPusherRequest( PUBLIC_CHANNEL, "game-round-started", data); server.Trigger(request); }