Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher Class Reference

Detailed Description

Transfers obsolete variables stored at the node to the new format.

Inheritance diagram for Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher:
Collaboration diagram for Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher:

Public Member Functions

override 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...
 
override bool OnValid (PipelineMap node, System.Action onInvalid)
 Valid in case if PipelineMap.variables is null or empty. 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

override State OnPatch (PipelineMap node, PatchTicket ticket)
 Handler that should path the node marked by this patch logic as invalid. More...
 
virtual void OnPrePatch (PipelineMap node, PatchTicket ticket)
 Handler that will be called before patching. Use it to make preparation, backups, etc. 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...
 

Member Function Documentation

◆ IsCanBePatched()

override bool Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher.IsCanBePatched ( PipelineMap  node,
PatchTicket  ticket 
)
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.

Parameters
nodeSource to patch.
ticketOrder generated by the patcher.
Returns
Conclusion is the patch could be processed.

Implements Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.

◆ OnGUI()

virtual void Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.OnGUI ( PipelineMap  node,
PatchTicket  ticket 
)
virtualinherited

Handler for inspector's UI drawing.

Parameters
nodeSource to patch.
ticketOrder generated by the patcher.

Reimplemented in Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher.

◆ OnListGUI()

virtual void Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.OnListGUI ( PipelineMap  node,
PatchTicket  ticket 
)
virtualinherited

Custom GUI in patch orders list item.

Parameters
nodeSource node.
ticketPatcher data.

Reimplemented in Doloro.AI.DAIDebugger.PatchingTool.AssemblyPatchingTool.AssemblyPatcher, and Doloro.AI.DAIDebugger.PatchingTool.ScriptsPatchingTool.ScriptsPatcher.

◆ OnPatch()

override State Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher.OnPatch ( PipelineMap  node,
PatchTicket  ticket 
)
protectedvirtual

Handler that should path the node marked by this patch logic as invalid.

Parameters
nodeSource to patch.
ticketOrder generated by the patcher.

Implements Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.

◆ OnPostPatch()

virtual void Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.OnPostPatch ( PipelineMap  node,
PatchTicket  ticket 
)
protectedvirtualinherited

Handler that will be called after patching. Use it to revert settings or restore damaged data.

Parameters
nodeSource to patch.
ticketOrder generated by the patcher.

◆ OnPrePatch()

virtual void Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.OnPrePatch ( PipelineMap  node,
PatchTicket  ticket 
)
protectedvirtualinherited

Handler that will be called before patching. Use it to make preparation, backups, etc.

Parameters
nodeSource to patch.
ticketOrder generated by the patcher.

◆ OnValid()

override bool Doloro.AI.DAIDebugger.PatchingTool.VariablesVersionPatcher.OnValid ( PipelineMap  node,
System.Action  onInvalid 
)
virtual

Valid in case if PipelineMap.variables is null or empty.

Parameters
nodeSource node.
onInvalid
Returns

Implements Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.

◆ Patch()

State Doloro.AI.DAIDebugger.PatchingTool.APatchLogic.Patch ( PipelineMap  node,
PatchTicket  ticket 
)
inherited

Starts patching sequence.

Parameters
node
ticket
Returns

The documentation for this class was generated from the following file: