Description
The LongName
property of the MapClassVariable
class provides a user-friendly name for the variable, intended for display in user interfaces. This property is useful when you want to present a more descriptive or readable name to users, as opposed to the internal or technical name.
Usage
To use the LongName
property, simply access it from an instance of the MapClassVariable
class. You can get or set this property as needed to display or modify the user-friendly name of the variable.
Example
// Example of accessing the LongName property
// Create an instance of MapClassVariable
MapClassVariable mapVariable = new MapClassVariable();
// Set the LongName property
mapVariable.LongName = "Player Start Position";
// Get the LongName property
string userFriendlyName = mapVariable.LongName;
// Output the user-friendly name
// Note: Avoid using Console.WriteLine in s&box
// Instead, use appropriate UI or logging methods
// Example: Log.Info(userFriendlyName);