-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ♻️ Apply review changes in MapHelper
- Loading branch information
Showing
2 changed files
with
20 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
using Intersect.Server.Framework.Items; | ||
using System.Diagnostics.CodeAnalysis; | ||
using Intersect.Server.Framework.Items; | ||
using Intersect.Server.Framework.Maps; | ||
|
||
namespace Intersect.Server.Plugins.Helpers; | ||
|
||
public interface IMapHelper | ||
{ | ||
event Action<IItemSource, IItem> ItemAdded; | ||
IMapInstance GetMapInstanceByDescriptorId(Guid mapId, Guid mapInstanceId); | ||
void InvokeItemAdded(IItemSource source, IItem item); | ||
} | ||
event ItemAddedHandler ItemAdded; | ||
bool TryGetMapInstance(Guid mapId, Guid instanceId, [NotNullWhen(true)] out IMapInstance? instance); | ||
} | ||
|
||
public delegate void ItemAddedHandler(IItemSource? source, IItem item); |