SimApi Control getResourcePath

From SIMboxWiki
Jump to navigation Jump to search



Icon attributes.pngstatic CCHAR_A* SimApi::Control::getResourcePath()

    Description

    Gets the path to the simulation resource directory. ANSI

    Return

    Type: CCHAR_A *   Description: The simulation resource directory.

    Remarks
    

The resource directory is used to store various resources needed by the simulation. When developing a component that requires additional resources, we will create a folder or use an existing folder located under the resource directory. This will ensure that the resources will be available in every installation.