Updated GameLift names, improved Getter/Setter generation

Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
This commit is contained in:
lsemp3d
2021-11-29 10:40:07 -08:00
parent 67d38a5bea
commit 13361b220e
11 changed files with 1604 additions and 4 deletions
@@ -922,6 +922,11 @@ namespace ScriptCanvasEditorTools
TranslateMethod(behaviorProperty->m_getter, method);
// We know this is a getter, so there will only be one parameter, we will use the method name as a best
// guess for the argument name
SplitCamelCase(cleanName);
method.m_arguments[1].m_details.m_name = cleanName;
entry->m_methods.push_back(method);
}
@@ -944,6 +949,11 @@ namespace ScriptCanvasEditorTools
TranslateMethod(behaviorProperty->m_setter, method);
// We know this is a setter, so there will only be one parameter, we will use the method name as a best
// guess for the argument name
SplitCamelCase(cleanName);
method.m_arguments[1].m_details.m_name = cleanName;
entry->m_methods.push_back(method);
}