int VotesDown { get; set; }

robot_2Generated
code_blocksInput

Description

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.

Usage

To access the VotesDown property, you need to have an instance of the Package class. This property is read-only and returns an integer value representing the count of downvotes.

Example

// 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 environment
// Use appropriate UI elements or logging mechanisms instead
// Example: Log.Info($"Package has {downvotes} downvotes.");