update stats plugin to IPluginV2
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
using System.Threading.Tasks;
|
||||
using SharedLibraryCore;
|
||||
using SharedLibraryCore.Events;
|
||||
|
||||
namespace IW4MAdmin.Plugins.Stats.Client.Abstractions
|
||||
{
|
||||
public interface IClientStatisticCalculator
|
||||
{
|
||||
Task GatherDependencies();
|
||||
Task CalculateForEvent(GameEvent gameEvent);
|
||||
Task CalculateForEvent(CoreEvent coreEvent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
using IW4MAdmin.Plugins.Stats.Client.Game;
|
||||
using SharedLibraryCore;
|
||||
using Data.Models;
|
||||
using IW4MAdmin.Plugins.Stats.Client.Game;
|
||||
using SharedLibraryCore.Interfaces;
|
||||
|
||||
namespace Stats.Client.Abstractions
|
||||
{
|
||||
public interface IHitInfoBuilder
|
||||
{
|
||||
HitInfo Build(string[] log, ParserRegex parserRegex, int entityId, bool isSelf, bool isVictim, Server.Game gameName);
|
||||
HitInfo Build(string[] log, ParserRegex parserRegex, int entityId, bool isSelf, bool isVictim, Reference.Game gameName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,9 @@
|
||||
using SharedLibraryCore;
|
||||
using Data.Models;
|
||||
using Stats.Client.Game;
|
||||
|
||||
namespace Stats.Client.Abstractions
|
||||
namespace Stats.Client.Abstractions;
|
||||
|
||||
public interface IWeaponNameParser
|
||||
{
|
||||
public interface IWeaponNameParser
|
||||
{
|
||||
WeaponInfo Parse(string weaponName, Server.Game gameName);
|
||||
}
|
||||
WeaponInfo Parse(string weaponName, Reference.Game gameName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user