The VotesDown
property of the Package
class represents the number of players who have voted this package down. This property is useful for understanding the community's reception of a package, particularly in terms of negative feedback.
The VotesDown
property of the Package
class represents the number of players who have voted this package down. This property is useful for understanding the community's reception of a package, particularly in terms of negative feedback.
To access the VotesDown
property, you need to have an instance of the Package
class. This property is read-only and provides an integer value representing the total number of downvotes a package has received.
// Example of accessing the VotesDown property // Assume 'package' is an instance of Sandbox.Package int downvotes = package.VotesDown; // Output the number of downvotes // Note: Avoid using Console.WriteLine in Sandbox // Instead, use a UI element or logging system to display the value // Example: Log.Info($"Package has {downvotes} downvotes.");