public static void CounterSubscribe(ExitGames.Client.Photon.PhotonPeer peer, int receiveInterval) { var data = new Dictionary<byte, object> { { (byte)ParameterCode.CounterReceiveInterval, receiveInterval } }; peer.OpCustom((byte)OperationCode.SubscribeCounter, data, true, Settings.DiagnosticsChannel); }
public static void RadarSubscribe(ExitGames.Client.Photon.PhotonPeer peer, string worldName) { var data = new Dictionary<byte, object> { { (byte)ParameterCode.WorldName, worldName } }; peer.OpCustom((byte)OperationCode.RadarSubscribe, data, true, Settings.RadarChannel); }