Skip to main content

TavernLib.Backend

Every type in TavernLib.Backend, from TavernLib's own assembly. See the overview for how these pages are made.

TypeKindPublic membersWhat it is
BackendUtilsstatic class4Small helpers shared by TavernLib's backend: the listing URL, SHA-256 hashing and random URL-safe tokens.
EntranceMessageHandlerclass2Receives the roles message on a client and keeps the local player's roles. Registered as a service on both sides, but only sets its handler when not a server.
NativeHttpclass4A blocking HTTP GET client on Windows' WinHTTP, for mod downloads during reconcile, before Unity's TLS is up. One instance is one session; don't use it on the main thread.
TavernMessagesenum2TavernLib's own network message numbers, above the game's: ReceiveRoles (32, server to client) and ReceiveSceneIndex (33, reserved, unused). Cast to MessageType to use.
WindowsProxystatic class1Reads the current user's Windows proxy settings from the registry. Used by ServerListingController's HTTP client.