示例#1
0
        protected override async Task CreateNetworkConnectionAsync()
        {
            var connection = new ClientNetworkConnection(Settings);
            await connection.InitializeAsync();

            Connection = connection;
        }
示例#2
0
            protected override async Task CreateNetworkConnectionAsync()
            {
                var connection = new ClientNetworkConnection(_game.SkirmishManager.SkirmishGame);
                await connection.InitializeAsync();

                Connection = connection;
            }