public void Deserialize(BSReader reader) { this.IsEnabled = reader.ReadInt32() != 0; this.Path = reader.ReadString(); this.BoneRelative = reader.ReadString(); this.Position = reader.ReadVector3(); this.BirthTime = reader.ReadUInt32(); this.UnkByte01 = reader.ReadByte(); this.UnkByte02 = reader.ReadByte(); this.UnkByte03 = reader.ReadByte(); this.UnkByte04 = reader.ReadByte(); if (this.UnkByte04 == 1) { this.UnkVector01 = reader.ReadVector3(); } }