C# 클래스 Bricklayer.Server.IO

Handles disk saving/loading operations
파일 보기 프로젝트 열기: Cyral/Bricklayer

공개 프로퍼티들

프로퍼티 타입 설명
ServerDirectory string

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
LoadPlugin ( Server server, string file ) : void

메소드 상세

GetFileMD5() 공개 정적인 메소드

Gets an MD5 of a given file
public static GetFileMD5 ( string file ) : string
file string
리턴 string

LoadMap() 공개 정적인 메소드

public static LoadMap ( string name ) : Map
name string
리턴 Bricklayer.Server.World.Map

LoadMaps() 공개 정적인 메소드

public static LoadMaps ( ) : void
리턴 void

LoadPlugins() 공개 정적인 메소드

public static LoadPlugins ( Server server ) : void
server Server
리턴 void

LoadSettings() 공개 정적인 메소드

Opens the server settings and loads them into the server
public static LoadSettings ( ) : void
리턴 void

SaveMap() 공개 정적인 메소드

public static SaveMap ( Bricklayer map ) : void
map Bricklayer
리턴 void

SaveMaps() 공개 정적인 메소드

public static SaveMaps ( ) : void
리턴 void

SaveSettings() 공개 정적인 메소드

Saves server settings to the server config
public static SaveSettings ( Settings settings ) : void
settings Settings
리턴 void

프로퍼티 상세

ServerDirectory 공개적으로 정적으로 프로퍼티

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
리턴 string