Ejemplo n.º 1
0
 /// <summary>
 /// Adds buff data to packet.
 /// </summary>
 /// <remarks>
 /// This helper is used in ZC_BUFF_ADD and ZC_BUFF_UPDATE.
 /// </remarks>
 /// <param name="packet"></param>
 /// <param name="buff"></param>
 public static void AddTargetedBuff(this Packet packet, Buff buff)
 {
     packet.PutInt(buff.Target.Handle);
     packet.PutInt(buff.Handle);
     packet.AddBuff(buff);
 }