-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
53 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
# Rider IDE | ||
/.idea | ||
*.DotSettings.user | ||
|
||
# Ignore obj directories in the root of each project | ||
**/obj/ | ||
|
||
# Ignore NuGet cache in obj directories | ||
**/obj/**/*.nuget.cache | ||
|
||
# Ignore bin directories in the root of each project | ||
**/bin/ | ||
|
||
# Ignore the SLN | ||
cs2-retakes.sln |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Ignore obj directories in the root of each project | ||
**/obj/ | ||
|
||
# Ignore NuGet cache in obj directories | ||
**/obj/**/*.nuget.cache | ||
|
||
# Ignore bin directories in the root of each project | ||
**/bin/ | ||
|
||
# Ignore the SLN | ||
cs2-retakes.sln |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Ignore obj directories in the root of each project | ||
**/obj/ | ||
|
||
# Ignore NuGet cache in obj directories | ||
**/obj/**/*.nuget.cache | ||
|
||
# Ignore bin directories in the root of each project | ||
**/bin/ | ||
|
||
# Ignore the SLN | ||
cs2-retakes.sln |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace RetakesEvents.Contracts; | ||
|
||
public interface IEventSender | ||
{ | ||
event EventHandler<PluginEventArgs> PluginEventOccurred; | ||
|
||
void CheckEventListeners(); | ||
void AddEventListener(EventHandler<PluginEventArgs> listener); | ||
void TriggerEvent(string eventName, object eventData); | ||
} | ||
|
||
public class PluginEventArgs : EventArgs | ||
{ | ||
public string EventName { get; } | ||
public object EventData { get; } | ||
|
||
public PluginEventArgs(string eventName, object eventData) | ||
{ | ||
EventName = eventName; | ||
EventData = eventData; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
</Project> |