using ODMO.Commons.Writers;
namespace ODMO.Commons.Packets.GameServer
{
public class QuestGoalUpdatePacket : PacketWriter
{
private const int PacketNumber = 11001;
///
/// Updates the target quest current goal.
///
/// Quest unique identifier
/// Goal index
/// Goal current value
public QuestGoalUpdatePacket(short questId, byte goalIndex, short currentGoalValue)
{
Type(PacketNumber);
WriteShort(questId);
WriteByte(goalIndex);
WriteShort(currentGoalValue);
}
}
}