-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
15 changed files
with
329 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Gangs.BaseImpl.Stats; | ||
|
||
public class LGStat : BaseStat<LGData> { | ||
public const string STAT_ID = "jb_lg_stat"; | ||
public override string StatId => STAT_ID; | ||
public override string Name => "LGs"; | ||
public override string? Description => "LGs reached"; | ||
public override LGData? Value { get; set; } | ||
} | ||
|
||
public class LGData { | ||
public int CtLgs { get; set; } | ||
public int TLgs { get; set; } | ||
|
||
public override string ToString() { | ||
return $"CT/T Last Guards: {CtLgs}/{TLgs}"; | ||
} | ||
} |
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 Gangs.BaseImpl.Stats; | ||
|
||
public class LRStat : BaseStat<LRData> { | ||
public const string STAT_ID = "jb_lr_stat"; | ||
public override string StatId => STAT_ID; | ||
public override string Name => "LRs"; | ||
public override string? Description => "LRs reached"; | ||
public override LRData? Value { get; set; } | ||
} | ||
|
||
public class LRData { | ||
public int LRsReachedAsCt { get; set; } | ||
public int LRsReachedAsT { get; set; } | ||
public int CtLrs { get; set; } | ||
public int TLrs { get; set; } | ||
public int CTLrsWon { get; set; } | ||
public int TLrsWon { get; set; } | ||
|
||
public override string ToString() { | ||
return $"CT/T LRs, CT/T LR Wins: {CtLrs}/{TLrs} {CTLrsWon}/{TLrsWon}"; | ||
} | ||
} |
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,25 @@ | ||
namespace Gangs.BaseImpl.Stats; | ||
|
||
public class WardenStat : BaseStat<WardenData> { | ||
public const string STAT_ID = "jb_warden_stat"; | ||
public override string StatId => STAT_ID; | ||
public override string Name => "Guard"; | ||
public override string? Description => "Stats revolving CT specific info"; | ||
public override WardenData? Value { get; set; } | ||
} | ||
|
||
public class WardenData { | ||
public int TimesWardened { get; set; } | ||
public int WardenDeaths { get; set; } | ||
public int WardensKilled { get; set; } | ||
public int GuardDeathsAsWarden { get; set; } | ||
public int WardenDeathsAsGuard { get; set; } | ||
|
||
public override string ToString() { | ||
return $"WardenData:\n" + $" Times Wardened: {TimesWardened}\n" | ||
+ $" Warden Deaths: {WardenDeaths}\n" | ||
+ $" Wardens Killed: {WardensKilled}\n" | ||
+ $" Guard Deaths as Warden: {GuardDeathsAsWarden}\n" | ||
+ $" Warden Deaths as Guard: {WardenDeathsAsGuard}"; | ||
} | ||
} |
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.