Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)

Port From (https://github.com/TrinityCore/TrinityCore/commit/f922c6e7a46a7c712daaaef9b1a72ca865fbe94b)
This commit is contained in:
hondacrx
2020-09-22 20:05:58 -04:00
parent 184915abc2
commit d40c2938a3
65 changed files with 552 additions and 527 deletions
+5 -5
View File
@@ -31,13 +31,13 @@ namespace Game
Global.ServiceMgr.Dispatch(this, request.Method.GetServiceHash(), request.Method.Token, request.Method.GetMethodId(), new CodedInputStream(request.Data));
}
[WorldPacketHandler(ClientOpcodes.BattlenetRequestRealmListTicket, Status = SessionStatus.Authed)]
void HandleBattlenetRequestRealmListTicket(RequestRealmListTicket requestRealmListTicket)
[WorldPacketHandler(ClientOpcodes.ChangeRealmTicket, Status = SessionStatus.Authed)]
void HandleBattlenetChangeRealmTicket(ChangeRealmTicket changeRealmTicket)
{
SetRealmListSecret(requestRealmListTicket.Secret);
SetRealmListSecret(changeRealmTicket.Secret);
RealmListTicket realmListTicket = new RealmListTicket();
realmListTicket.Token = requestRealmListTicket.Token;
ChangeRealmTicketResponse realmListTicket = new ChangeRealmTicketResponse();
realmListTicket.Token = changeRealmTicket.Token;
realmListTicket.Allow = true;
realmListTicket.Ticket = new Framework.IO.ByteBuffer();
realmListTicket.Ticket.WriteCString("WorldserverRealmListTicket");