This part of the Dialogue Editor window contains the CSV export code.
More...
|
static void | Export (DialogueDatabase database, string filename, bool exportActors, bool exportItems, bool exportLocations, bool exportVariables, bool exportConversations, EntrytagFormat entrytagFormat) |
| The main export method. More...
|
|
static void | Export (DialogueDatabase database, string filename, bool exportActors, bool exportItems, bool exportLocations, bool exportVariables, bool exportConversations, bool exportConversationsAfterEntries, EntrytagFormat entrytagFormat) |
|
static string | CleanField (string s) |
|
static string[] | GetValues (string line) |
| Returns the individual comma-separated values in a line. More...
|
|
static string | UnwrapValue (string value) |
| Returns a "fixed" version of a comma-separated value where escaped newlines have been converted back into real newlines, and optional surrounding quotes have been removed. More...
|
|
This part of the Dialogue Editor window contains the CSV export code.
◆ CleanField()
static string PixelCrushers.DialogueSystem.CSVExporter.CleanField |
( |
string |
s | ) |
|
|
static |
◆ Export() [1/2]
static void PixelCrushers.DialogueSystem.CSVExporter.Export |
( |
DialogueDatabase |
database, |
|
|
string |
filename, |
|
|
bool |
exportActors, |
|
|
bool |
exportItems, |
|
|
bool |
exportLocations, |
|
|
bool |
exportVariables, |
|
|
bool |
exportConversations, |
|
|
bool |
exportConversationsAfterEntries, |
|
|
EntrytagFormat |
entrytagFormat |
|
) |
| |
|
static |
◆ Export() [2/2]
static void PixelCrushers.DialogueSystem.CSVExporter.Export |
( |
DialogueDatabase |
database, |
|
|
string |
filename, |
|
|
bool |
exportActors, |
|
|
bool |
exportItems, |
|
|
bool |
exportLocations, |
|
|
bool |
exportVariables, |
|
|
bool |
exportConversations, |
|
|
EntrytagFormat |
entrytagFormat |
|
) |
| |
|
static |
The main export method.
Exports a database to a CSV file.
- Parameters
-
database | Source database. |
filename | Target CSV filename. |
exportActors | If set to true export actors. |
exportItems | If set to true export items. |
exportLocations | If set to true export locations. |
exportVariables | If set to true export variables. |
exportConversations | If set to true export conversations. |
◆ GetValues()
static string [] PixelCrushers.DialogueSystem.CSVExporter.GetValues |
( |
string |
line | ) |
|
|
static |
Returns the individual comma-separated values in a line.
- Returns
- The values.
- Parameters
-
◆ UnwrapValue()
static string PixelCrushers.DialogueSystem.CSVExporter.UnwrapValue |
( |
string |
value | ) |
|
|
static |
Returns a "fixed" version of a comma-separated value where escaped newlines have been converted back into real newlines, and optional surrounding quotes have been removed.
- Returns
- The value.
- Parameters
-
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/Core/Editor/Dialogue Editor/Exporters/CSVExporter.cs