feat: add BasePower abstraction
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user