Migration services: Difference between revisions

Line 487: Line 487:
This is roughly the same as [[#AbortAsync|AbortAsync]] except for the additional functionality done by the async task (etc), for when the input bool is set.
This is roughly the same as [[#AbortAsync|AbortAsync]] except for the additional functionality done by the async task (etc), for when the input bool is set.


The async task does the following in that block when the input bool is set (handling any errors as needed / calling any logging funcs as needed):
The async task does the following in that block when the input bool is false (handling any errors as needed / calling any logging funcs as needed):
* This block also only runs when a vfunc ret is false.
* This block also only runs when a vfunc ret is false.
** Calls a func.
** Calls a func.
*** Calls a func to get a state field, if this is -1 this then just returns 0.
*** Calls a func to get the [[#GetTransferEventId|transfer_event_id]], if this wasn't set yet this just returns 0.
*** Calls a func.
*** Calls a func.
*** Handles [[Sockets_services|sockets]]/etc initialization.
*** Handles [[Sockets_services|sockets]]/etc initialization.