Update PlayerLoginReply struct for TOB

- TOB Struct is different from the old one
- Moved specifics into their respective structs
- Added variant for choosing the struct to use
- Added setters to abstract the client operations and reduce duplicate code
- Pass at cleanup on GenerateRandomLoginKey to make it easier to modify
This commit is contained in:
Knightly
2026-04-19 08:48:14 -10:00
parent 767f04731b
commit faf5fe1093
5 changed files with 133 additions and 149 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ const char* EQ::versions::MobVersionName(MobVersion mob_version)
case MobVersion::OfflineRoF2:
return "Offline RoF2";
case MobVersion::OfflineTOB:
return "Offline Steam Latest";
return "Offline TOB";
default:
return "Invalid Version";
};
@@ -505,7 +505,7 @@ uint32 EQ::expansions::ConvertExpansionToExpansionBit(Expansion expansion)
return bitLS;
case Expansion::TOB:
return bitTOB;
default:
return bitEverQuest;
}