|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Functions | |
DataTable | |
| const UScriptStruct | GetDataTableRowStruct (const UDataTable Table) |
| Get the row struct used by the given Data Table, if any. | |
| void | EvaluateCurveTableRow (UCurveTable CurveTable, FName RowName, float32 InXY, EEvaluateCurveTableResult &OutResult, float32 &OutXY, FString ContextString) |
| bool | DoesDataTableRowExist (const UDataTable Table, FName RowName) |
| Returns whether or not Table contains a row named RowName. | |
| void | GetDataTableColumnNames (const UDataTable Table, TArray< FName > &OutColumnNames) |
| Get the name of each column in this Data Table. Note: These are always the raw property names (See: GetDataTableColumnAsString) rather than the friendly export name that would be used in a CSV/JSON export (See: GetDataTableColumnNameFromExportName). | |
| void | GetDataTableColumnExportNames (const UDataTable Table, TArray< FString > &OutExportColumnNames) |
| Get the friendly export name of each column in this Data Table. See: GetDataTableColumnNameFromExportName. | |
| TArray< FString > | GetDataTableColumnAsString (const UDataTable DataTable, FName PropertyName) |
| Export from the DataTable all the row for one column. Export it as string. The row name is not included. See: GetDataTableColumnNames. See: GetDataTableColumnNameFromExportName. | |
| void | GetDataTableRowNames (const UDataTable Table, TArray< FName > &OutRowNames) |
| bool | GetDataTableColumnNameFromExportName (const UDataTable Table, FString ColumnExportName, FName &OutColumnName) |
| Get the raw property name of a data table column from its friendly export name. | |
Editor Scripting | DataTable | |
| bool | FillDataTableFromCSVFile (UDataTable DataTable, FString CSVFilePath, UScriptStruct ImportRowStruct=nullptr) |
| Empty and fill a Data Table from CSV file. | |
| bool | ExportDataTableToJSONFile (const UDataTable DataTable, FString JSONFilePath) |
| Export a Data Table to JSON file. | |
| bool | ExportDataTableToCSVString (const UDataTable DataTable, FString &OutCSVString) |
| Export a Data Table to CSV string. | |
| bool | FillDataTableFromJSONString (UDataTable DataTable, FString JSONString, UScriptStruct ImportRowStruct=nullptr) |
| Empty and fill a Data Table from JSON string. | |
| bool | ExportDataTableToJSONString (const UDataTable DataTable, FString &OutJSONString) |
| Export a Data Table to JSON string. | |
| bool | ExportDataTableToCSVFile (const UDataTable DataTable, FString CSVFilePath) |
| Export a Data Table to CSV file. | |
| bool | FillDataTableFromCSVString (UDataTable DataTable, FString CSVString, UScriptStruct ImportRowStruct=nullptr) |
| Empty and fill a Data Table from CSV string. | |
| bool | FillDataTableFromJSONFile (UDataTable DataTable, FString JSONFilePath, UScriptStruct ImportRowStruct=nullptr) |
| Empty and fill a Data Table from JSON file. | |
| bool DoesDataTableRowExist | ( | const UDataTable | Table, |
| FName | RowName ) |
Returns whether or not Table contains a row named RowName.
| void EvaluateCurveTableRow | ( | UCurveTable | CurveTable, |
| FName | RowName, | ||
| float32 | InXY, | ||
| EEvaluateCurveTableResult & | OutResult, | ||
| float32 & | OutXY, | ||
| FString | ContextString ) |
| bool ExportDataTableToCSVFile | ( | const UDataTable | DataTable, |
| FString | CSVFilePath ) |
Export a Data Table to CSV file.
| CSVFilePath | The file path of the CSV file to write (output file is UTF-8). |
| bool ExportDataTableToCSVString | ( | const UDataTable | DataTable, |
| FString & | OutCSVString ) |
Export a Data Table to CSV string.
| OutCSVString | Output representing the contents of a CSV file. |
| bool ExportDataTableToJSONFile | ( | const UDataTable | DataTable, |
| FString | JSONFilePath ) |
Export a Data Table to JSON file.
| JSONFilePath | The file path of the JSON file to write (output file is UTF-8). |
| bool ExportDataTableToJSONString | ( | const UDataTable | DataTable, |
| FString & | OutJSONString ) |
Export a Data Table to JSON string.
| OutJSONString | Output representing the contents of a JSON file. |
| bool FillDataTableFromCSVFile | ( | UDataTable | DataTable, |
| FString | CSVFilePath, | ||
| UScriptStruct | ImportRowStruct = nullptr ) |
Empty and fill a Data Table from CSV file.
| CSVFilePath | The file path of the CSV file. |
| ImportRowStruct | Optional row struct to apply on import. If set will also force the import to run automated (no questions or dialogs). |
| bool FillDataTableFromCSVString | ( | UDataTable | DataTable, |
| FString | CSVString, | ||
| UScriptStruct | ImportRowStruct = nullptr ) |
Empty and fill a Data Table from CSV string.
| CSVString | The Data that representing the contents of a CSV file. |
| ImportRowStruct | Optional row struct to apply on import. If set will also force the import to run automated (no questions or dialogs). |
| bool FillDataTableFromJSONFile | ( | UDataTable | DataTable, |
| FString | JSONFilePath, | ||
| UScriptStruct | ImportRowStruct = nullptr ) |
Empty and fill a Data Table from JSON file.
| JSONFilePath | The file path of the JSON file. |
| ImportRowStruct | Optional row struct to apply on import. If set will also force the import to run automated (no questions or dialogs). |
| bool FillDataTableFromJSONString | ( | UDataTable | DataTable, |
| FString | JSONString, | ||
| UScriptStruct | ImportRowStruct = nullptr ) |
Empty and fill a Data Table from JSON string.
| JSONString | The Data that representing the contents of a JSON file. |
| ImportRowStruct | Optional row struct to apply on import. If set will also force the import to run automated (no questions or dialogs). |
| TArray< FString > GetDataTableColumnAsString | ( | const UDataTable | DataTable, |
| FName | PropertyName ) |
Export from the DataTable all the row for one column. Export it as string. The row name is not included. See: GetDataTableColumnNames. See: GetDataTableColumnNameFromExportName.
| void GetDataTableColumnExportNames | ( | const UDataTable | Table, |
| TArray< FString > & | OutExportColumnNames ) |
Get the friendly export name of each column in this Data Table. See: GetDataTableColumnNameFromExportName.
| bool GetDataTableColumnNameFromExportName | ( | const UDataTable | Table, |
| FString | ColumnExportName, | ||
| FName & | OutColumnName ) |
Get the raw property name of a data table column from its friendly export name.
| void GetDataTableColumnNames | ( | const UDataTable | Table, |
| TArray< FName > & | OutColumnNames ) |
Get the name of each column in this Data Table. Note: These are always the raw property names (See: GetDataTableColumnAsString) rather than the friendly export name that would be used in a CSV/JSON export (See: GetDataTableColumnNameFromExportName).
| void GetDataTableRowNames | ( | const UDataTable | Table, |
| TArray< FName > & | OutRowNames ) |
| const UScriptStruct GetDataTableRowStruct | ( | const UDataTable | Table | ) |
Get the row struct used by the given Data Table, if any.