Skip to content

Class fails to generate when adding function node #12

Open
@stevemk14ebr

Description

@stevemk14ebr

Thanks for adding the function node type first off. I've found an issue however, picture Is worth a thousand words:

Good:
http://i.imgur.com/C5Jz0ql.png

Bad:
http://i.imgur.com/EWXBtYS.png

As you can see when adding the new function node type the class fails to generate. It would also be nice if the function node type had an option to generate a method body (just a text box) and had reserved keywords to insert the address of a class into that method body, example:

SomeOtherClass* AFunction()
{ <- Everything In brackets is inside a textbox
SomeOtherClass* pOtherClass = * * (SomeOtherClass*)%SomeOtherClassAddress%
return pOtherClass;
}

in this case %SomeOtherClassAddress% would be replaced by reclass with the address of that class. This would make it easy to write singletons that are updated automatically, as it is now you have to generate the class and write you own singletons which is just a waste of time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions