コード例 #1
0
 /// <summary>
 /// Indicates if the server has an offline flag indicator.
 /// </summary>
 /// <param name="flags">The flags.</param>
 /// <returns>True if the flags indicate the gameserver is offline.</returns>
 public static bool IsOffline(this GameServerStatusFlags flags)
 {
     return(!flags.HasFlag(GameServerStatusFlags.Online));
 }