-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update current sync methods and delegates (#436)
- Updated lambda ordinals for `FloatMenuMakerMap` and `MechanitorUtility` delegates - Changed syncing of carry to shuttle lambda delegate to a local func - Removed syncing of `RoyalTitlePermitWorker_CallLaborers.CallLaborers`, as it's no longer needed since it'll be synced from `ITargetingSource.OrderForceTarget` - Added a sync worker for `RoyalTitlePermitWorker_CallLaborers`, as using that permit would otherwise desync - Added syncing of non-virtual `Verb.TryStartCastOn` method - It's required for ability syncing, as it can be called from `Ability.QueueCastingJob` (the `LocalTargetInfo` variant) if `verbProps.nonInterruptingSelfCast` is true - Modified `Targeter.BeginTargeting` patch to not handle `Verb.TryStartCastOn` calls - This is due to the previous change handling syncing of this specific case - Updated `SyncDelegates` and `SyncMethods` classes to use C# 12's collection expression - Added a sync worker for `IReloadableComp`, as it's needed by one of the `FloatMenuMakerMap` delegates - We could change it in the future to `Write/ReadWithImpl` - however, it seems there's a very limited amount of vanilla types implementing this interface
- Loading branch information
1 parent
b61a92b
commit 87ff20a
Showing
4 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters