22 lines
612 B
C#
22 lines
612 B
C#
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
|
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
|
|
|
using Framework.Constants;
|
|
|
|
namespace Game.Networking.Packets
|
|
{
|
|
public class UpdateObject : ServerPacket
|
|
{
|
|
public UpdateObject() : base(ServerOpcodes.UpdateObject, ConnectionType.Instance) { }
|
|
|
|
public override void Write()
|
|
{
|
|
_worldPacket.WriteBytes(Data);
|
|
}
|
|
|
|
public uint NumObjUpdates;
|
|
public ushort MapID;
|
|
public byte[] Data;
|
|
}
|
|
}
|