public static BuffReplaceGroupEntry ReadBuffInGroupReplace(this ByteReader reader)
        {
            var data = new BuffReplaceGroupEntry();

            data.OwnerNetID  = reader.ReadUInt32();
            data.CasterNetID = reader.ReadUInt32();
            data.Slot        = reader.ReadByte();
            return(data);
        }
 public static void WriteBuffInGroupReplace(this ByteWriter writer, BuffReplaceGroupEntry data)
 {
     if (data == null)
     {
         data = new BuffReplaceGroupEntry();
     }
     writer.WriteUInt32(data.OwnerNetID);
     writer.WriteUInt32(data.CasterNetID);
     writer.WriteByte(data.Slot);
 }