mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
Fix formatting
This commit is contained in:
4 files changed
+6
-7
No files matched your search
@@ -55,7 +55,7 @@ namespace Impostor.Api.Games
|
||||
void BanIp(IPAddress ipAddress);
|
||||
|
||||
/// <summary>
|
||||
/// Syncs the internal <see cref="GameOptionsData" /> to all players.
|
||||
/// Syncs the internal <see cref="IGameOptions" /> to all players.
|
||||
/// Necessary to do if you modified it, otherwise it won't be used.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="ValueTask" /> representing the asynchronous operation.</returns>
|
||||
|
||||
@@ -2,5 +2,4 @@
|
||||
|
||||
public interface IInnerGameManager
|
||||
{
|
||||
|
||||
}
|
||||
@@ -36,7 +36,7 @@ namespace Impostor.Api.Net.Messages
|
||||
FlagCache = typeof(MessageFlags)
|
||||
.GetFields(BindingFlags.Public | BindingFlags.Static)
|
||||
.Where(fi => fi.IsLiteral && !fi.IsInitOnly)
|
||||
.ToDictionary(x => (byte) x.GetValue(null)!, y => y.Name);
|
||||
.ToDictionary(x => (byte)x.GetValue(null)!, y => y.Name);
|
||||
}
|
||||
|
||||
public static string FlagToString(byte flag)
|
||||
|
||||
+4
-4
@@ -4,6 +4,10 @@ namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek;
|
||||
|
||||
internal class LogicGameFlowHnS : LogicGameFlow, ILogicGameFlowHnS
|
||||
{
|
||||
public float CurrentFinalHideTime { get; private set; }
|
||||
|
||||
public float CurrentHideTime { get; private set; }
|
||||
|
||||
public override void Deserialize(IMessageReader reader, bool initialState)
|
||||
{
|
||||
var num = reader.ReadSingle();
|
||||
@@ -11,8 +15,4 @@ internal class LogicGameFlowHnS : LogicGameFlow, ILogicGameFlowHnS
|
||||
CurrentFinalHideTime = reader.ReadSingle();
|
||||
CurrentHideTime = num;
|
||||
}
|
||||
|
||||
public float CurrentFinalHideTime { get; private set; }
|
||||
|
||||
public float CurrentHideTime { get; private set; }
|
||||
}
|
||||
Reference in new issue
Block a user