Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
The base class for any integrable patchers. Will be called by the Patcher instance during validation pass for each node in a project.
Public Member Functions | |
abstract bool | IsCanBePatched (PipelineMap node, PatchTicket ticket) |
Handler that should consider shared data and patcher settings and decide is the patcher can be called. Patch request will be denied in case if the handler returns false. More... | |
abstract bool | OnValid (PipelineMap node, System.Action onInvalid) |
Handler calling when some behavior node processing by the debugger. Must conclude is the node passing validation filter. More... | |
State | Patch (PipelineMap node, PatchTicket ticket) |
Starts patching sequence. More... | |
virtual void | OnGUI (PipelineMap node, PatchTicket ticket) |
Handler for inspector's UI drawing. More... | |
virtual void | OnListGUI (PipelineMap node, PatchTicket ticket) |
Custom GUI in patch orders list item. More... | |
Protected Member Functions | |
virtual void | OnPrePatch (PipelineMap node, PatchTicket ticket) |
Handler that will be called before patching. Use it to make preparation, backups, etc. More... | |
abstract State | OnPatch (PipelineMap node, PatchTicket ticket) |
Handler that should path the node marked by this patch logic as invalid. More... | |
virtual void | OnPostPatch (PipelineMap node, PatchTicket ticket) |
Handler that will be called after patching. Use it to revert settings or restore damaged data. More... | |
|
pure virtual |
Handler that should consider shared data and patcher settings and decide is the patcher can be called. Patch request will be denied in case if the handler returns false.
node | Source to patch. |
ticket | Order generated by the patcher. |
Implemented in Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher, Doloro.AI.DAIDebugger.PatchingTool.AbsentPropertyPatcher, Doloro.AI.DAIDebugger.PatchingTool.ObsoletePropertyPatcher, Doloro.AI.DAIDebugger.PatchingTool.ScriptsPatchingTool.ScriptsPatcher, and Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher.
|
virtual |
Handler for inspector's UI drawing.
node | Source to patch. |
ticket | Order generated by the patcher. |
Reimplemented in Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher.
|
virtual |
Custom GUI in patch orders list item.
node | Source node. |
ticket | Patcher data. |
Reimplemented in Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher, and Doloro.AI.DAIDebugger.PatchingTool.ScriptsPatchingTool.ScriptsPatcher.
|
protectedpure virtual |
Handler that should path the node marked by this patch logic as invalid.
node | Source to patch. |
ticket | Order generated by the patcher. |
Implemented in Doloro.AI.DAIDebugger.PatchingTool.AbsentPropertyPatcher, Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher, Doloro.AI.DAIDebugger.PatchingTool.ObsoletePropertyPatcher, Doloro.AI.DAIDebugger.PatchingTool.ScriptsPatchingTool.ScriptsPatcher, and Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher.
|
protectedvirtual |
Handler that will be called after patching. Use it to revert settings or restore damaged data.
node | Source to patch. |
ticket | Order generated by the patcher. |
|
protectedvirtual |
Handler that will be called before patching. Use it to make preparation, backups, etc.
node | Source to patch. |
ticket | Order generated by the patcher. |
|
pure virtual |
Handler calling when some behavior node processing by the debugger. Must conclude is the node passing validation filter.
node | Target node for validation. |
onInvalid | Handler that calling during processing for each invalid parameter. |
Implemented in Doloro.AI.DAIDebugger.PatchingTool.AbsentPropertyPatcher, Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher, Doloro.AI.DAIDebugger.PatchingTool.ObsoletePropertyPatcher, Doloro.AI.DAIDebugger.PatchingTool.ScriptsPatchingTool.ScriptsPatcher, and Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher.
State Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.Patch | ( | PipelineMap | node, |
PatchTicket | ticket | ||
) |
Starts patching sequence.
node | |
ticket |