Skip to main content

AuthPayloads.AuthenticateOk

A struct in TavernLib, TavernLib.Backend.Auth.

The answer to an accepted join: the player's user id, whether the Quest or tutorial scene is needed, and the game and web ports.

Constructors​

MemberWhat it is
AuthenticateOk(ulong userId, bool questSceneRequired, bool tutorialSceneRequired, int gamePort, int webPort)Sets every field of the join reply.

Properties​

6 private and internal properties
MemberWhat it is
private int GamePort { get; }The game port.
private bool QuestSceneRequired { get; }Whether the server runs the quest scene.
private string Status { get; }Always ok.
private bool TutorialSceneRequired { get; }Whether the server runs the tutorial scene.
private ulong UserId { get; }The player's user id.
private int WebPort { get; }The web port.