Remove custom OptionalType and use the default c# nullable type.

This commit is contained in:
hondacrx
2022-03-01 17:27:56 -05:00
parent cc08afe269
commit c14f1eb3dc
89 changed files with 924 additions and 976 deletions
+2 -2
View File
@@ -118,7 +118,7 @@ namespace Game.Networking.Packets
ShowArenaPlayers = data.HasBit();
ExactName = data.HasBit();
if (data.HasBit())
ServerInfo.Value = new();
ServerInfo = new();
data.ResetBitPos();
@@ -149,7 +149,7 @@ namespace Game.Networking.Packets
public bool ShowEnemies;
public bool ShowArenaPlayers;
public bool ExactName;
public Optional<WhoRequestServerInfo> ServerInfo;
public WhoRequestServerInfo? ServerInfo;
}
public class WhoEntry