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>
public interface IInnerGameManager
{
-
}
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)
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();
CurrentFinalHideTime = reader.ReadSingle();
CurrentHideTime = num;
}
-
- public float CurrentFinalHideTime { get; private set; }
-
- public float CurrentHideTime { get; private set; }
}