C# Class OpenBveApi.Runtime.LoadProperties

Represents properties supplied to the plugin on loading.
显示文件 Open project: leezer3/OpenBVE Class Usage Examples

Public Methods

Method Description
LoadProperties ( string pluginFolder, string trainFolder, PlaySoundDelegate playSound, AddInterfaceMessageDelegate addMessage ) : System

Creates a new instance of this class.

Method Details

LoadProperties() public method

Creates a new instance of this class.
public LoadProperties ( string pluginFolder, string trainFolder, PlaySoundDelegate playSound, AddInterfaceMessageDelegate addMessage ) : System
pluginFolder string The absolute path to the plugin folder.
trainFolder string The absolute path to the train folder.
playSound PlaySoundDelegate The callback function for playing sounds.
addMessage AddInterfaceMessageDelegate The callback function for adding interface messages.
return System