Jump to content

GetInheritedParentalRatingValue() is missing in beta server 4.7.x.x


pünktchen

Recommended Posts

pünktchen

@Luke where is BaseItem.GetInheritedParentalRatingValue() in 4.7.x.x?
Do BaseItems now by default inherit the parent parental rating or why is it removed?

Link to comment
Share on other sites

The database used to save this as a column but now it's been normalized and is just calculated on the fly. What you can use as a replacement is OfficialRatingForComparison and CustomRatingForComparison. Those two go up the parent tree in the same way.

Link to comment
Share on other sites

pünktchen
On 10/26/2021 at 2:10 AM, Luke said:

What you can use as a replacement is OfficialRatingForComparison and CustomRatingForComparison.

Okay, but then where do i get the integer that corresponds to those string values?

Link to comment
Share on other sites

localizationManager.GetparentalRatingValue, but i can just add back GetInheritedParentalRatingValue if it would help

Link to comment
Share on other sites

pünktchen
9 hours ago, Luke said:

but i can just add back GetInheritedParentalRatingValue if it would help

That would be great and help a lot.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...