Age | Commit message (Collapse) | Author |
|
|
|
This will be used by the new asset propagation in SMAPI 4.0 & Stardew Valley 1.6.
|
|
|
|
|
|
Creating a stack is *very* slow, so it should be avoided if possible until after the duplicate-warning check.
|
|
|
|
|
|
|
|
• When raising AssetRequested, SMAPI now creates a single event args model and reuses it for each handler.
• There's now a single AssetOperationGroup per asset, which tracks the loaders/editors registered by every mod for that asset.
• The operation group's loader/editor lists are now used directly instead of querying them.
|
|
This mainly avoids allocating event arg objects unnecessarily.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|