C# Class OpenBve.PluginManager

ファイルを表示 Open project: leezer3/OpenBVE

Private Methods

Method Description
CheckWin32Header ( string file ) : bool

Checks whether a specified file is a valid Win32 plugin.

LoadCustomPlugin ( TrainManager train, string trainFolder, System encoding ) : bool

Loads a custom plugin for the specified train.

LoadDefaultPlugin ( TrainManager train, string trainFolder ) : bool

Loads the default plugin for the specified train.

LoadPlugin ( TrainManager train, string pluginFile, string trainFolder ) : bool

Loads the specified plugin for the specified train.

UnloadPlugin ( TrainManager train ) : void

Unloads the currently loaded plugin, if any.