Table of Contents

Class DialogueInjector

Namespace
S1API.Dialogues
Assembly
S1API.dll

The DialogueInjector class is a static utility that facilitates the injection of custom dialogue entries into a game's dialogue system at runtime. It provides methods for registering custom dialogue injections and ensures that these injections are processed correctly within the update loop.

public static class DialogueInjector
Inheritance
DialogueInjector
Inherited Members

Methods

Register(DialogueInjection)

Registers a dialogue injection to be processed in the update loop.

public static void Register(DialogueInjection injection)

Parameters

injection DialogueInjection

An instance of DialogueInjection representing the dialogue to be injected into the game.