Table of Contents

Enum HostLockState

Namespace
Valheim.Testing.GameSessions
Assembly
Valheim.Testing.GameSessions.dll

What a claim, release or check of a host lock established.

public enum HostLockState

Fields

Claimed = 0

This call created the lock for the owner.

Free = 4

No lock is held (a check, or a release of a lock that was already gone).

HeldByOther = 2

The lock names another owner, given in Holder. Nothing was changed.

Released = 3

This call removed the owner's lock.

Unknown = 5

Nothing could be proven: a transport failure, a timeout, an error on the host, an empty owner file (a claim in progress or an interrupted one) or an unexpected reply. Treat it as neither yours nor free; a claim may still have happened.

Yours = 1

The lock names exactly this owner (a repeated claim, or a check by the holder). Nothing was changed.