NetworkSettingsBuilder constructor

NetworkSettingsBuilder(
  1. NetworkSettings initial
)

Creates the view model based on the current Settings.

Implementation

NetworkSettingsBuilder(NetworkSettings initial) :
	dataSocket = SocketBuilder(initial.subsystemsSocket),
	videoSocket = SocketBuilder(initial.videoSocket),
	autonomySocket = SocketBuilder(initial.autonomySocket),
	tankSocket = SocketBuilder(initial.tankSocket),
    connectionTimeout = NumberBuilder<double>(initial.connectionTimeout, min: 0);