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:
@@ -24,10 +24,10 @@ namespace Game
|
||||
{
|
||||
public partial class WorldSession
|
||||
{
|
||||
[WorldPacketHandler(ClientOpcodes.UiTimeRequest, Status = SessionStatus.Authed, Processing = PacketProcessing.Inplace)]
|
||||
void HandleUITimeRequest(UITimeRequest packet)
|
||||
[WorldPacketHandler(ClientOpcodes.ServerTimeOffsetRequest, Status = SessionStatus.Authed, Processing = PacketProcessing.Inplace)]
|
||||
void HandleServerTimeOffsetRequest(ServerTimeOffsetRequest packet)
|
||||
{
|
||||
UITime response = new UITime();
|
||||
ServerTimeOffset response = new ServerTimeOffset();
|
||||
response.Time = (uint)Time.UnixTime;
|
||||
SendPacket(response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user