コード例 #1
0
        public static BuffRemoveGroupEntry ReadBuffRemoveGroupEntry(this ByteReader reader)
        {
            var data = new BuffRemoveGroupEntry();

            data.UnitNetID = reader.ReadUInt32();
            data.BuffSlot  = reader.ReadByte();
            return(data);
        }
コード例 #2
0
 public static void WriteBuffRemoveGroupEntry(this ByteWriter writer, BuffRemoveGroupEntry data)
 {
     if (data == null)
     {
         data = new BuffRemoveGroupEntry();
     }
     writer.WriteUInt32(data.UnitNetID);
     writer.WriteByte(data.BuffSlot);
 }