Skip to content

IReadingPreferences

namespace Griff.Runtime;
public interface IReadingPreferences

What reading a conversation goes by that’s a player’s own: whether skipping (Skipping) goes on through lines they haven’t read yet, how quickly reading on by itself (AutoReading) does, and the lines they’ve read before. A system that keeps them says so (the Visual Novels module’s keeps them with the player’s settings); with none, skipping stops at every line said and reading on by itself waits as at middle speed.

public abstract float AutoSpeed { get; }

How quickly dialogue reads on by itself, 0 (slowly) to 1 (quickly).

public abstract bool SkipUnread { get; }

Whether skipping goes on through lines not read yet, rather than stopping at the first.

public abstract bool Read(Dialogue dialogue, int row)

Notes that the player is reading line row of dialogue; true if they had read it before.