chore: Less verbose name for enum underlying type casts (#1494)

* Less verbose name for enum underlying type casts

* Remove redundant call
This commit is contained in:
jadebenn
2024-03-06 23:45:04 -06:00
committed by GitHub
parent fe4b29f643
commit 6e3b5acede
4 changed files with 7 additions and 7 deletions

View File

@@ -229,7 +229,7 @@ void AuthPackets::SendLoginResponse(dServer* server, const SystemAddress& sysAdd
RakNet::BitStream loginResponse;
BitStreamUtils::WriteHeader(loginResponse, eConnectionType::CLIENT, eClientMessageType::LOGIN_RESPONSE);
loginResponse.Write<uint8_t>(GeneralUtils::CastUnderlyingType(responseCode));
loginResponse.Write(responseCode);
// Event Gating
loginResponse.Write(LUString(Game::config->GetValue("event_1")));