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 = 0This call created the lock for the owner.
Free = 4No lock is held (a check, or a release of a lock that was already gone).
HeldByOther = 2The lock names another owner, given in Holder. Nothing was changed.
Released = 3This call removed the owner's lock.
Unknown = 5Nothing 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 = 1The lock names exactly this owner (a repeated claim, or a check by the holder). Nothing was changed.