Controls dialog history
More...
Controls dialog history
Definition at line 38 of file NarrativeLog.cs.
◆ AddLine()
void Fungus.NarrativeLog.AddLine |
( |
string |
name, |
|
|
string |
text |
|
) |
| |
◆ Awake()
virtual void Fungus.NarrativeLog.Awake |
( |
| ) |
|
|
protectedvirtual |
◆ Clear()
void Fungus.NarrativeLog.Clear |
( |
| ) |
|
Clear all lines of the narrative log Usually used on restart
Definition at line 97 of file NarrativeLog.cs.
◆ DoNarrativeAdded()
static void Fungus.NarrativeLog.DoNarrativeAdded |
( |
| ) |
|
|
static |
◆ GetJsonHistory()
string Fungus.NarrativeLog.GetJsonHistory |
( |
| ) |
|
Convert history into Json for saving in SaveData
- Returns
Definition at line 106 of file NarrativeLog.cs.
◆ GetPrettyHistory()
string Fungus.NarrativeLog.GetPrettyHistory |
( |
bool |
previousOnly = false | ) |
|
Show previous lines for display purposes
- Returns
Definition at line 116 of file NarrativeLog.cs.
◆ LoadHistory()
void Fungus.NarrativeLog.LoadHistory |
( |
string |
narrativeData | ) |
|
◆ NarrativeAddedHandler()
delegate void Fungus.NarrativeLog.NarrativeAddedHandler |
( |
| ) |
|
◆ OnDisable()
virtual void Fungus.NarrativeLog.OnDisable |
( |
| ) |
|
|
protectedvirtual |
◆ OnEnable()
virtual void Fungus.NarrativeLog.OnEnable |
( |
| ) |
|
|
protectedvirtual |
◆ OnWriterState()
virtual void Fungus.NarrativeLog.OnWriterState |
( |
Writer |
writer, |
|
|
WriterState |
writerState |
|
) |
| |
|
protectedvirtual |
◆ OnNarrativeAdded
NarrativeAdded signal.
Sent when a line is added.
Definition at line 44 of file NarrativeLog.cs.
The documentation for this class was generated from the following file: