Exemplo n.º 1
0
        public static ReplaceBuffInGroup ReadReplaceBuffInGroup(this PacketReader reader)
        {
            var data = new ReplaceBuffInGroup();

            data.OwnerNetID  = reader.ReadNetID();
            data.CasterNetID = reader.ReadNetID();
            data.Slot        = reader.ReadByte();
            return(data);
        }
Exemplo n.º 2
0
 public static void WriteReplaceBuffInGroup(this PacketWriter writer, ReplaceBuffInGroup data)
 {
     writer.WriteNetID(data.OwnerNetID);
     writer.WriteNetID(data.CasterNetID);
     writer.WriteByte(data.Slot);
 }