Skip to main content

SceneIndexPatches

A class in TavernLib, TavernLib.Patches.

Forces the scene a client joins from /tutorialScene or /questScene, with a postfix on the JoinedServerGameMode constructor. Client.

Constructors​

MemberWhat it is
SceneIndexPatches()Created by TavernLib; mods don't make one.

Methods​

MemberWhat it is
static void OverrideSceneIndex(GameServerInfo server)Postfix on the JoinedServerGameMode constructor that sets the server info's SceneIndex to the forced scene, if there is one.
1 private and internal method
MemberWhat it is
internal static int? ForcedSceneIndex()Internal: 1 with /tutorialScene, 4 with /questScene, otherwise null.