-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1227 from tukasa0001/develop
developのマージ (v4.0.1)
- Loading branch information
Showing
56 changed files
with
1,314 additions
and
536 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,60 @@ | ||
using AmongUs.GameOptions; | ||
|
||
namespace TownOfHost | ||
{ | ||
public static class AURoleOptions | ||
{ | ||
private static IGameOptions Opt; | ||
public static void SetOpt(IGameOptions opt) => Opt = opt; | ||
public static float ScientistCooldown | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.ScientistCooldown); | ||
set => Opt.SetFloat(FloatOptionNames.ScientistCooldown, value); | ||
} | ||
public static float ScientistBatteryCharge | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.ScientistBatteryCharge); | ||
set => Opt.SetFloat(FloatOptionNames.ScientistBatteryCharge, value); | ||
} | ||
public static float EngineerCooldown | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.EngineerCooldown); | ||
set => Opt.SetFloat(FloatOptionNames.EngineerCooldown, value); | ||
} | ||
public static float EngineerInVentMaxTime | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.EngineerInVentMaxTime); | ||
set => Opt.SetFloat(FloatOptionNames.EngineerInVentMaxTime, value); | ||
} | ||
public static float GuardianAngelCooldown | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.GuardianAngelCooldown); | ||
set => Opt.SetFloat(FloatOptionNames.GuardianAngelCooldown, value); | ||
} | ||
public static float ProtectionDurationSeconds | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.ProtectionDurationSeconds); | ||
set => Opt.SetFloat(FloatOptionNames.ProtectionDurationSeconds, value); | ||
} | ||
public static bool ImpostorsCanSeeProtect | ||
{ | ||
get => Opt.GetBool(BoolOptionNames.ImpostorsCanSeeProtect); | ||
set => Opt.SetBool(BoolOptionNames.ImpostorsCanSeeProtect, value); | ||
} | ||
public static float ShapeshifterDuration | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.ShapeshifterDuration); | ||
set => Opt.SetFloat(FloatOptionNames.ShapeshifterDuration, value); | ||
} | ||
public static float ShapeshifterCooldown | ||
{ | ||
get => Opt.GetFloat(FloatOptionNames.ShapeshifterCooldown); | ||
set => Opt.SetFloat(FloatOptionNames.ShapeshifterCooldown, value); | ||
} | ||
public static bool ShapeshifterLeaveSkin | ||
{ | ||
get => Opt.GetBool(BoolOptionNames.ShapeshifterLeaveSkin); | ||
set => Opt.SetBool(BoolOptionNames.ShapeshifterLeaveSkin, value); | ||
} | ||
} | ||
} |
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
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.