public PrtEmitter(PrtBinaryReader reader)
{
this.TiedToEmitter = reader.ReadBoolean();
this.IgnoreRotation = reader.ReadBoolean();
this.EmitByMotion = reader.ReadBoolean();
this.Loop = reader.ReadBoolean();
this.InheritVelocity = reader.ReadBoolean();
this.UseMinVelocity = reader.ReadBoolean();
this.UseMaxVelocity = reader.ReadBoolean();
this.AlwaysActive = reader.ReadBoolean();
this.SyncWithAttackAnim = reader.ReadBoolean();
reader.ReadBytes(3); // 32 bit padding
this.MaxParticles = reader.ReadInt32();
this.AppearanceType = (PrtAppearanceType)reader.ReadInt32();
this.UpdateRadius = reader.ReadSingle();
this.MaxParticlesVar = reader.ReadSingle();
this.ParticleLife = reader.ReadSingle();
this.ParticleLifeVar = reader.ReadSingle();
this.GlobalFadeIn = reader.ReadSingle();
this.GlobalFadeInVar = reader.ReadSingle();
this.GlobalFadeOut = reader.ReadSingle();
this.GlobalFadeOutVar = reader.ReadSingle();
this.EmitDistance = reader.ReadSingle();
this.EmitDistanceVar = reader.ReadSingle();
this.EmissionRate = reader.ReadSingle();
this.EmissionRateVar = reader.ReadSingle();
this.InitialDormancy = reader.ReadSingle();
this.InitialDormancyVar = reader.ReadSingle();
this.InitialUpdate = reader.ReadSingle();
this.InitialUpdateVar = reader.ReadSingle();
this.EmissionTime = reader.ReadSingle();
this.EmissionTimeVar = reader.ReadSingle();
this.DormantTime = reader.ReadSingle();
this.DormantTimeVar = reader.ReadSingle();
this.InitialDistance = reader.ReadSingle();
this.InitialDistanceVar = reader.ReadSingle();
this.InitialVelocity = reader.ReadSingle();
this.InitialVelocityVar = reader.ReadSingle();
this.Acceleration = reader.ReadSingle();
this.AccelerationVar = reader.ReadSingle();
this.InheritInfluence = reader.ReadSingle();
this.InheritInfluenceVar = reader.ReadSingle();
this.MinVelocity = reader.ReadSingle();
this.MinVelocityVar = reader.ReadSingle();
this.MaxVelocity = reader.ReadSingle();
this.MaxVelocityVar = reader.ReadSingle();
}