C# Class Bricklayer.Server.IO

Handles disk saving/loading operations
Afficher le fichier Open project: Cyral/Bricklayer

Méthodes publiques

Свойство Type Description
ServerDirectory string

Méthodes publiques

Méthode Description
GetFileMD5 ( string file ) : string

Gets an MD5 of a given file

LoadMap ( string name ) : Map
LoadMaps ( ) : void
LoadPlugins ( Server server ) : void
LoadSettings ( ) : void

Opens the server settings and loads them into the server

SaveMap ( Bricklayer map ) : void
SaveMaps ( ) : void
SaveSettings ( Settings settings ) : void

Saves server settings to the server config

Private Methods

Méthode Description
LoadPlugin ( Server server, string file ) : void

Method Details

GetFileMD5() public static méthode

Gets an MD5 of a given file
public static GetFileMD5 ( string file ) : string
file string
Résultat string

LoadMap() public static méthode

public static LoadMap ( string name ) : Map
name string
Résultat Bricklayer.Server.World.Map

LoadMaps() public static méthode

public static LoadMaps ( ) : void
Résultat void

LoadPlugins() public static méthode

public static LoadPlugins ( Server server ) : void
server Server
Résultat void

LoadSettings() public static méthode

Opens the server settings and loads them into the server
public static LoadSettings ( ) : void
Résultat void

SaveMap() public static méthode

public static SaveMap ( Bricklayer map ) : void
map Bricklayer
Résultat void

SaveMaps() public static méthode

public static SaveMaps ( ) : void
Résultat void

SaveSettings() public static méthode

Saves server settings to the server config
public static SaveSettings ( Settings settings ) : void
settings Settings
Résultat void

Property Details

ServerDirectory public_oe static_oe property

The current directory the server executable lies in rather than loading from a static folder such as the client, the server will load settings/maps from it's current folder, meaning you can drag and drop the server into any folder to run it
public static string ServerDirectory
Résultat string