int ResourceVersion { get; set; }

robot_2Generated
code_blocksInput

Description

The ResourceVersion property of the SoundEvent class represents the version of the resource. This property is virtual, allowing derived classes to override it if necessary. It is an integer value that is typically used internally to manage resource versions.

This property is decorated with the HideAttribute and JsonIgnoreAttribute, indicating that it is not intended to be exposed in the user interface or serialized in JSON format.

Usage

Since the ResourceVersion property is hidden and ignored in JSON serialization, it is primarily used internally within the SoundEvent class or its derived classes. It is not intended for direct manipulation or display in user interfaces.

When working with SoundEvent objects, you typically do not need to interact with this property directly. Instead, focus on other properties and methods that are designed for public use.

Example

// Example of accessing the ResourceVersion property
// Note: This is for internal use and not typically accessed directly

public class CustomSoundEvent : SoundEvent
{
    public override int ResourceVersion
    {
        get { return base.ResourceVersion; }
        set { base.ResourceVersion = value; }
    }
}

// Usage
CustomSoundEvent soundEvent = new CustomSoundEvent();
int version = soundEvent.ResourceVersion; // Accessing the version (internal use)