{ "<PARCEL>", "parcel" },
{ "<NAME>", p->GetID() }
});
- if (IsDelegateType(type))
- code += ReplaceAll(CB_METHOD_DELEGATE_ADD, {
- { "<DELEGATE>", p->GetID()},
- });
+ if (IsDelegateType(type)) {
+ code += ReplaceAll(CB_METHOD_DELEGATE_ADD, {
+ { "<DELEGATE>", p->GetID()},
+ });
+ }
code += NLine(1);
} else if (type.ToString() == "list" || type.ToString() == "array") {
code += ReplaceAll(CB_LIST_PARCEL_WRITE, {
if (!params.empty())
params += ", ";
- auto& param_type = p->GetParameterType();
- auto& type = param_type.GetBaseType();
params += p->GetID();
}