コード例 #1
0
 public static void SaveToBin(EntityStatus item, BinaryWriter writer)
 {
     writer.Write(item.Admin);
     writer.Write(item.MinBodyTemperature);
     writer.Write(item.MaxBodyTemperature);
     writer.Write(item.IdealTemperature);
     writer.Write(item.MaxWarmth);
     writer.Write(item.UNK_VAL_01);
     writer.Write(item.WarmthRate);
     writer.Write(item.ConfortRegen);
     writer.Write(item.MaxHealth);
     writer.Write(item.MaxEnergy);
     writer.Write(item.EnergyRate);
     writer.Write(item.MaxFood);
     writer.Write(item.MaxBreath);
     writer.Write(item.BreathRate);
     writer.Write(item.DrownRate);
     writer.Write(item.WindChill);
     StringIO.SaveToBin(item.BodyMaterial, writer);
     StringIO.SaveToBin(item.DamageConfig, writer);
 }