Class CopyModTypingsBuildStep
Pre-build step: copies type declaration files from OneJS WorkingDir to StreamingAssets/ModTypings so that ModManager can distribute them to Mods/typings/ at runtime. Players use these for TypeScript IntelliSense in UI mods.
Files copied:
- app.d.ts: C# type declarations (auto-generated by Puerts)
- global.d.ts: GrindFest custom mod globals (useObservableList, etc.)
public class CopyModTypingsBuildStep : IPreprocessBuildWithReport, IOrderedCallback
- Inheritance
-
objectCopyModTypingsBuildStep
- Implements
Properties
- callbackOrder
Returns a numeric value that determines the order in which the build callback is invoked.
Methods
- OnPreprocessBuild(BuildReport)
Implement this method to receive a callback before the build is started.