public PrtColor(PrtBinaryReader reader)
{
this.UsePalette = reader.ReadBoolean();
this.LoopingCycle = reader.ReadBoolean();
reader.ReadBytes(2);
this.NumPaletteColors = reader.ReadInt32();
this.NumStages = reader.ReadInt32();
this.CycleTime = reader.ReadSingle();
this.CycleTimeVar = reader.ReadSingle();
this.WorldLightingInfluence = reader.ReadSingle();
this.Color = reader.ReadTexel();
this.PaletteColors = new List<Texel>(this.NumPaletteColors);
this.ColorStages = new List<PrtColorStage>(this.NumStages);
}