C# Class SEModAPI.API.Definitions.DedicatedConfigDefinition

Mostrar archivo Open project: rexxar-tc/SEServerExtender Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DedicatedConfigDefinition ( MyConfigDedicatedData definition ) : System
Load ( FileInfo fileInfo ) : MyConfigDedicatedData

Load the dedicated server configuration file

Save ( FileInfo fileInfo ) : bool

Method Details

DedicatedConfigDefinition() public method

public DedicatedConfigDefinition ( MyConfigDedicatedData definition ) : System
definition MyConfigDedicatedData
return System

Load() public static method

Load the dedicated server configuration file
Thrown if configuration file cannot be found at the path specified. Configuration file not understood. See inner exception for details. Ignore configuration file line number in outer exception.
public static Load ( FileInfo fileInfo ) : MyConfigDedicatedData
fileInfo System.IO.FileInfo Path to the configuration file
return MyConfigDedicatedData

Save() public method

public Save ( FileInfo fileInfo ) : bool
fileInfo System.IO.FileInfo
return bool