public override void BoltStartBegin() { // Define Reliable Channel _textureTransmitChannel = BoltNetwork.CreateStreamChannel(TextureTransmitChannelName, UdpChannelMode.Reliable, 1); BoltNetwork.RegisterTokenClass <PlayerTextureMeta>(); }
public override void BoltStartBegin() { InitJsonChannel = BoltNetwork.CreateStreamChannel(InitJsonChannelName, UdpChannelMode.Reliable, 4); WaspJsonChannel = BoltNetwork.CreateStreamChannel(WaspJsonChannelName, UdpChannelMode.Reliable, 4); PlayerJsonChannel = BoltNetwork.CreateStreamChannel(PlayerJsonChannelName, UdpChannelMode.Reliable, 4); StreamAggregationChannel = BoltNetwork.CreateStreamChannel(StreamAggregationName, UdpChannelMode.Reliable, 4); UpdateAggregationChannel = BoltNetwork.CreateStreamChannel(UpdateAggregationName, UdpChannelMode.Reliable, 4); BoltNetwork.RegisterTokenClass <PartToken>(); BoltNetwork.RegisterTokenClass <PartTokenParent>(); BoltNetwork.RegisterTokenClass <PartTokenComplex>(); }
private void CreateStreamChannels() { _streamChannels.Clear(); string[] streamChannelNames = Enum.GetNames(typeof(StreamChannelType)); int[] streamChannelValues = Enum.GetValues(typeof(StreamChannelType)) as int[]; for (int i = 0; i < streamChannelValues.Length; i++) { StreamChannelType type = (StreamChannelType)streamChannelValues[i]; GetStreamChannelSettings(type, out bool reliable, out int priority); UdpChannelName photonChannelName = BoltNetwork.CreateStreamChannel(streamChannelNames[i], reliable ? UdpChannelMode.Reliable : UdpChannelMode.Unreliable, priority); StreamChannel channel = new StreamChannel(photonChannelName, streamChannelNames[i], reliable, priority, type); _streamChannels.Add(type, channel); } }
public override void BoltStartBegin() { base.BoltStartBegin(); BoltNetwork.CreateStreamChannel("pogo", UdpChannelMode.Reliable, 1); }
public override void BoltStartBegin() { testChannel = BoltNetwork.CreateStreamChannel("test", UdpChannelMode.Reliable, 1); }
public override void BoltStartBegin() { print("Creating WorldVoxel channel"); WorldVoxelChannel = BoltNetwork.CreateStreamChannel("WorldVoxelChannel", UdpKit.UdpChannelMode.Reliable, 1); }
public override void BoltStartBegin() { CoopVoice.VoiceChannel = BoltNetwork.CreateStreamChannel("Voice", UdpChannelMode.Unreliable, 1); }
public override void BoltStartBegin() { CoopVoice.VoiceChannel = BoltNetwork.CreateStreamChannel(CoopPlayerCallbacks.CHANNEL_VOICE, UdpChannelMode.Unreliable, 1); Debug.Log("CoopPlayerCallbacks::BoltStartBegin CoopVoice.VoiceChannel:" + CoopVoice.VoiceChannel); }
public override void BoltStartBegin() { PhotonBoltNetworkManager.streamChannel = BoltNetwork.CreateStreamChannel("UN_Bolt_StreamChannel", UdpKit.UdpChannelMode.Reliable, 1); }