ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FAIDScriptMethod Struct Reference

#include <ArticyImportData.h>

Public Member Functions

const FString & GetCPPReturnType () const
const FString & GetCPPDefaultReturn () const
const FString GetCPPParameters () const
const FString GetArguments () const
const FString GetOriginalParametersForDisplayName () const
void ImportFromJson (TSharedPtr< FJsonObject > Json, TSet< FString > &OverloadedMethods)

Public Attributes

FString Name
FString BlueprintName
bool bIsOverloadedFunction = false
TArray< FAIDScriptMethodParameterParameterList
TArray< FString > ArgumentList
TArray< FString > OriginalParameterTypes

Detailed Description

A script method definition.

Member Function Documentation

◆ GetArguments()

const FString FAIDScriptMethod::GetArguments ( ) const

Retrieves the argument string for the script method.

Returns
The argument string.

◆ GetCPPDefaultReturn()

const FString & FAIDScriptMethod::GetCPPDefaultReturn ( ) const

Retrieves the default C++ return value string for the script method.

Returns
The default C++ return value string.

◆ GetCPPParameters()

const FString FAIDScriptMethod::GetCPPParameters ( ) const

Retrieves the C++ parameters string for the script method.

Returns
The C++ parameters string.

◆ GetCPPReturnType()

const FString & FAIDScriptMethod::GetCPPReturnType ( ) const

Retrieves the C++ return type string for the script method.

Returns
The C++ return type string.

◆ GetOriginalParametersForDisplayName()

const FString FAIDScriptMethod::GetOriginalParametersForDisplayName ( ) const

Retrieves the original parameters string for display name generation.

Returns
The original parameters string.

◆ ImportFromJson()

void FAIDScriptMethod::ImportFromJson ( TSharedPtr< FJsonObject > Json,
TSet< FString > & OverloadedMethods )

Imports script method data from a JSON object.

Parameters
JsonThe JSON object representing the script method.
OverloadedMethodsSet of overloaded method names.

Member Data Documentation

◆ ArgumentList

TArray<FString> FAIDScriptMethod::ArgumentList

A list of arguments (values), including a leading comma, to be used when calling a method.

◆ OriginalParameterTypes

TArray<FString> FAIDScriptMethod::OriginalParameterTypes

A list of parameters (original types), used for generating the blueprint function display name.

◆ ParameterList

TArray<FAIDScriptMethodParameter> FAIDScriptMethod::ParameterList

A list of parameters (type + parameter name), to be used in a method declaration.


The documentation for this struct was generated from the following files:
  • Source/ArticyEditor/Public/ArticyImportData.h
  • Source/ArticyEditor/Private/ArticyImportData.cpp