Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }