Table of Contents

Interface IOwnedServer

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

The owned dedicated server a joining client's ClientRounds run against: the rounds wait until it accepts game connections before each join and restart only it between rounds. OwnedServerSession implements it; a no-game test implements it over scripted servers.

public interface IOwnedServer

Methods

Restart()

Restarts only this server and returns its new actor.

GameActor Restart()

Returns

GameActor

WaitUntilJoinable(GameActor)

Waits until server, this server's current actor, accepts game connections.

void WaitUntilJoinable(GameActor server)

Parameters

server GameActor