Exemple #1
0
        public static BuffReplaceGroupEntry ReadBuffReplaceGroupEntry(this ByteReader reader)
        {
            var data = new BuffReplaceGroupEntry();

            data.UnitNetID   = reader.ReadUInt32();
            data.CasterNetID = reader.ReadUInt32();
            data.BuffSlot    = reader.ReadByte();
            return(data);
        }
Exemple #2
0
 public static void WriteBuffReplaceGroupEntry(this ByteWriter writer, BuffReplaceGroupEntry data)
 {
     if (data == null)
     {
         data = new BuffReplaceGroupEntry();
     }
     writer.WriteUInt32(data.UnitNetID);
     writer.WriteUInt32(data.CasterNetID);
     writer.WriteByte(data.BuffSlot);
 }