This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
generated from K4ryuu/Project_Template
-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
30 changed files
with
1,318 additions
and
1,287 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
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,9 +1,35 @@ | ||
using CounterStrikeSharp.API.Core; | ||
using CounterStrikeSharp.API.Modules.Commands; | ||
using static K4System.ModuleRank; | ||
|
||
namespace K4System | ||
{ | ||
public interface IModuleRank | ||
{ | ||
public void Initialize(bool hotReload); | ||
|
||
public void Release(bool hotReload); | ||
|
||
public Rank GetNoneRank(); | ||
|
||
public void LoadRankData(int slot, int points); | ||
|
||
public void BeforeRoundEnd(int winnerTeam); | ||
|
||
public void OnCommandRank(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandRanks(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandResetMyRank(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandTop(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandResetRank(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandSetPoints(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandGivePoints(CCSPlayerController? player, CommandInfo info); | ||
|
||
public void OnCommandRemovePoints(CCSPlayerController? player, CommandInfo info); | ||
} | ||
} |
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,9 +1,18 @@ | ||
using CounterStrikeSharp.API.Core; | ||
using CounterStrikeSharp.API.Modules.Commands; | ||
|
||
namespace K4System | ||
{ | ||
public interface IModuleStat | ||
{ | ||
public void Initialize(bool hotReload); | ||
|
||
public void Release(bool hotReload); | ||
|
||
public void LoadStatData(int slot, Dictionary<string, int> statData); | ||
|
||
public void BeforeRoundEnd(int winnerTeam); | ||
|
||
public void OnCommandStats(CCSPlayerController? player, CommandInfo info); | ||
} | ||
} |
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,9 +1,18 @@ | ||
using CounterStrikeSharp.API.Core; | ||
using CounterStrikeSharp.API.Modules.Commands; | ||
|
||
namespace K4System | ||
{ | ||
public interface IModuleTime | ||
{ | ||
public void Initialize(bool hotReload); | ||
|
||
public void Release(bool hotReload); | ||
|
||
public void LoadTimeData(int slot, Dictionary<string, int> timeData); | ||
|
||
public void BeforeDisconnect(CCSPlayerController player); | ||
|
||
public void OnCommandTime(CCSPlayerController? player, CommandInfo info); | ||
} | ||
} |
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,9 +1,14 @@ | ||
using CounterStrikeSharp.API.Core; | ||
using CounterStrikeSharp.API.Modules.Commands; | ||
|
||
namespace K4System | ||
{ | ||
public interface IModuleUtils | ||
{ | ||
public void Initialize(bool hotReload); | ||
|
||
public void Release(bool hotReload); | ||
|
||
public void OnCommandAdmins(CCSPlayerController? player, CommandInfo info); | ||
} | ||
} |
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
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
Oops, something went wrong.