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
@@ -230,7 +230,7 @@ namespace Game
continue;
LFGBlackList lfgBlackList = new();
lfgBlackList.PlayerGuid.Set(pguid);
lfgBlackList.PlayerGuid = pguid;
foreach (var locked in Global.LFGMgr.GetLockedDungeons(pguid))
lfgBlackList.Slot.Add(new LFGBlackListSlot(locked.Key, (uint)locked.Value.lockStatus, locked.Value.requiredItemLevel, (int)locked.Value.currentItemLevel, 0));
@@ -355,7 +355,7 @@ namespace Game
foreach (var it in joinData.lockmap)
{
var blackList = new LFGBlackListPkt();
blackList.PlayerGuid.Set(it.Key);
blackList.PlayerGuid = it.Key;
foreach (var lockInfo in it.Value)
{