private static void WriteBasicStat(PacketWriter pWriter, BasicStat stat) { pWriter.WriteShort(stat.WriteAttribute()); pWriter.WriteInt(stat.Flat); pWriter.WriteFloat(stat.Rate); }