Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 1bb8c2f

Browse files
author
Jamie Brynes
authored
Remove deprecated network type references (#268)
1 parent 776dff8 commit 1bb8c2f

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Changed
6+
7+
- `MobileClient` now uses the `ModularKcp` networking type rather than `Kcp`. [#268](https://github.com/spatialos/gdk-for-unity-fps-starter-project/pull/268).
8+
59
## `0.3.5` - 2020-04-23
610

711
### Changed

workers/unity/Assets/Fps/Scripts/WorkerConnectors/MobileWorkerConnector.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,7 @@ protected override IConnectionHandlerBuilder GetConnectionHandlerBuilder()
2828
{
2929
var connParams = CreateConnectionParameters(WorkerUtils.MobileClient);
3030
connParams.Network.UseExternalIp = true;
31-
connParams.Network.ConnectionType = NetworkConnectionType.Kcp;
32-
connParams.Network.Kcp = new KcpNetworkParameters
33-
{
34-
// These are the last tested values
35-
Heartbeat = new HeartbeatParameters
36-
{
37-
IntervalMillis = 5000,
38-
TimeoutMillis = 10000
39-
}
40-
};
31+
connParams.Network.ConnectionType = NetworkConnectionType.ModularKcp;
4132

4233
var initializer = new MobileConnectionFlowInitializer(
4334
new MobileConnectionFlowInitializer.CommandLineSettingsProvider(),

0 commit comments

Comments
 (0)