bool IsCableClass { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The IsCableClass property indicates whether the current MapClass instance represents a cable entity. Cable entities are designed to appear in the Path Tool within the map editor, allowing for the creation and manipulation of cable-like structures in the game environment.

Usage

Use the IsCableClass property to determine if a MapClass instance is a cable entity. This can be useful when iterating over multiple map classes and you need to perform specific operations on cable entities.

Example

// Example of checking if a MapClass is a cable entity
MapClass mapClassInstance = new MapClass();

if (mapClassInstance.IsCableClass)
{
    // Perform operations specific to cable entities
    // For example, add to a list of cable entities
    cableEntitiesList.Add(mapClassInstance);
}