Esempio n. 1
0
        public static BuffRemoveGroupEntry ReadBuffInGroupRemove(this ByteReader reader)
        {
            var data = new BuffRemoveGroupEntry();

            data.OwnerNetID    = reader.ReadUInt32();
            data.Slot          = reader.ReadByte();
            data.RunTimeRemove = reader.ReadFloat();
            return(data);
        }
Esempio n. 2
0
 public static void WriteBuffInGroupRemove(this ByteWriter writer, BuffRemoveGroupEntry data)
 {
     if (data == null)
     {
         data = new BuffRemoveGroupEntry();
     }
     writer.WriteUInt32(data.OwnerNetID);
     writer.WriteByte(data.Slot);
     writer.WriteFloat(data.RunTimeRemove);
 }