feat: add BasePower abstraction

This commit is contained in:
admin
2026-07-26 23:47:38 +02:00
commit 6dbbfc0dde
83 changed files with 7587 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
using CounterStrikeSharp.API.Core;
namespace Cs2SuperPowers;
public interface ISuperPower
{
int Id { get; }
string Name { get; }
string Description { get; }
char ChatColor { get; }
bool CanBeRandomlyAssigned { get; }
int MinimumPlayersRequired { get; }
void Initialize(BasePlugin pluginRef);
void AssignToPlayer(CCSPlayerController player, bool showMessages);
void UnassignFromPlayer(CCSPlayerController player);
}