WittleWolfie / WW-Blueprint-Core

A library to simplify modifying Pathfinder: Wrath of the Righteous.
MIT License
14 stars 5 forks source link

Contributor documentation for code generation #25

Closed Aegonek closed 2 years ago

Aegonek commented 2 years ago

Large amount of code in Blueprint Core is autogenerated. What is the workflow for editing existing, say, ActionBuilder? Should we update the code in BlueprintCoreGen/Templates? Or should we update the code directly in BlueprintCore? Will the code generation step overwrite changes in BlueprintCore project, merge them or something different? Could you give us the rough outline of how code generation works? I am a bit confused by the code.

I think it would be nice to answer this sort of questions in contributors guide.

WittleWolfie commented 2 years ago

In main every BlueprintConfigurator, ActionsBuilder, and ConditionsBuilder class is auto-generated so all changes to those should go into BlueprintCoreGen.

Everything else you can update in BlueprintCore directly. Agreed documentation should clarify, but I'm going to wait until I finish my current refactoring to update.

WittleWolfie commented 2 years ago

Closing as duplicate of Issue 41