s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
ReviewStats
chevron_left Classes
struct
ReviewStats

Constructors

functionsReviewStats

Fields

crop_dinNegativeRatingscrop_dinNegativeTagscrop_dinPositiveRatingscrop_dinPositiveTagscrop_dinPromiseRatingscrop_dinScore

Properties

data_objectTotal
ReviewStats
struct Sandbox.Package .
sealedobsoleteSandbox.Engine

build Constructors 1

ReviewStats ()
Creates empty statistics for legacy callers.

crop_din Fields 6

NegativeRatings
int
Gets the number of negative ratings associated with the item.
NegativeTags
ImmutableDictionary`2
Gets a read-only dictionary containing the negative review tags and their corresponding counts.
PositiveRatings
int
Gets the number of positive ratings associated with the item.
PositiveTags
ImmutableDictionary`2
Gets a read-only dictionary containing the count of each positive review tag associated with the item.
PromiseRatings
int
Represents the number of promise ratings associated with the current instance.
Score
float
A normalized score from 0 to 1, where 1 means all ratings are positive.

data_object Properties 1

Total
int
Gets the total number of ratings, including positive, negative, and promise ratings.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter