summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SModHooks.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-11 21:36:45 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-11 21:36:45 -0400
commitbbe5983acdd082d2185a69e2ad37d659a298223d (patch)
treead6fe68ebd0da25a832e9fad3832741dee50954f /src/SMAPI/Framework/SModHooks.cs
parent42a797a01240893e9a8e645253a269087b2d178d (diff)
downloadSMAPI-bbe5983acdd082d2185a69e2ad37d659a298223d.tar.gz
SMAPI-bbe5983acdd082d2185a69e2ad37d659a298223d.tar.bz2
SMAPI-bbe5983acdd082d2185a69e2ad37d659a298223d.zip
rewrite asset operations to reduce allocations
• 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.
Diffstat (limited to 'src/SMAPI/Framework/SModHooks.cs')
0 files changed, 0 insertions, 0 deletions