C# 클래스 MCSharp.Server

파일 보기 프로젝트 열기: Voziv/MCSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LatestVersion double
MapGen MapGenerator
PCCounter System.Diagnostics.PerformanceCounter
ProcessCounter System.Diagnostics.PerformanceCounter
administrators MCSharp.PlayerList
advbuilders MCSharp.PlayerList
afkset List
banned MCSharp.PlayerList
bannedIP MCSharp.PlayerList
bot MCSharp.PlayerList
builders MCSharp.PlayerList
griefExempted MCSharp.PlayerList
griefExemption List
ircControllers MCSharp.PlayerList
jokerMessages List
levels List
mainLevel MCSharp.World.Map
messages List
moderators MCSharp.PlayerList
operators MCSharp.PlayerList
s Server
salt string

공개 메소드들

메소드 설명
ForceExit ( ) : void
LoadLastSeen ( ) : void
ParseInput ( ) : void

This function parses input from the server console. In reality the server console should handle the wait for input and call a function within the library to parse a specific command.

ParseInput ( string input ) : void
RandomMessage ( ) : void
SaveLastSeen ( ) : void
Server ( ) : System
Start ( ) : void
Stop ( ) : void
doPhysics ( ) : void
doPortCheck ( ) : bool

Checks the server port with utorrent to find out if the port is open to the internet

Based on an example given by Fragmer (me at matvei dot org)

비공개 메소드들

메소드 설명
Accept ( IAsyncResult result ) : void
SanityCheck ( ) : bool

Checks the MCSharp environment to ensure everything is ready to launch

SettingsUpdate ( ) : void
SetupGeneral ( ) : void
SetupIRC ( ) : void
SetupLevels ( ) : void
SetupNetwork ( ) : bool
SetupRanks ( ) : void
hasWriteAccessToFolder ( string path ) : bool

메소드 상세

ForceExit() 공개 정적인 메소드

public static ForceExit ( ) : void
리턴 void

LoadLastSeen() 공개 정적인 메소드

public static LoadLastSeen ( ) : void
리턴 void

ParseInput() 공개 메소드

This function parses input from the server console. In reality the server console should handle the wait for input and call a function within the library to parse a specific command.
public ParseInput ( ) : void
리턴 void

ParseInput() 공개 메소드

public ParseInput ( string input ) : void
input string
리턴 void

RandomMessage() 공개 정적인 메소드

public static RandomMessage ( ) : void
리턴 void

SaveLastSeen() 공개 정적인 메소드

public static SaveLastSeen ( ) : void
리턴 void

Server() 공개 메소드

public Server ( ) : System
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

doPhysics() 공개 정적인 메소드

public static doPhysics ( ) : void
리턴 void

doPortCheck() 공개 정적인 메소드

Checks the server port with utorrent to find out if the port is open to the internet
Based on an example given by Fragmer (me at matvei dot org)
public static doPortCheck ( ) : bool
리턴 bool

프로퍼티 상세

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

public static double LatestVersion
리턴 double

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

TODO: Bring the new map generator that isn't static in from the xmap branch This declaration is deprecated
public static MapGenerator MapGen
리턴 MapGenerator

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

public static PerformanceCounter,System.Diagnostics PCCounter
리턴 System.Diagnostics.PerformanceCounter

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

public static PerformanceCounter,System.Diagnostics ProcessCounter
리턴 System.Diagnostics.PerformanceCounter

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

Player Lists
public static PlayerList,MCSharp administrators
리턴 MCSharp.PlayerList

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

public static PlayerList,MCSharp advbuilders
리턴 MCSharp.PlayerList

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

public static List afkset
리턴 List

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

public static PlayerList,MCSharp banned
리턴 MCSharp.PlayerList

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

public static PlayerList,MCSharp bannedIP
리턴 MCSharp.PlayerList

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

public static PlayerList,MCSharp bot
리턴 MCSharp.PlayerList

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

public static PlayerList,MCSharp builders
리턴 MCSharp.PlayerList

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

public static PlayerList,MCSharp griefExempted
리턴 MCSharp.PlayerList

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

public static List griefExemption
리턴 List

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

public static PlayerList,MCSharp ircControllers
리턴 MCSharp.PlayerList

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

public static List jokerMessages
리턴 List

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

public static List levels
리턴 List

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

public static Map,MCSharp.World mainLevel
리턴 MCSharp.World.Map

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

public static List messages
리턴 List

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

public static PlayerList,MCSharp moderators
리턴 MCSharp.PlayerList

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

public static PlayerList,MCSharp operators
리턴 MCSharp.PlayerList

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

public static Server,MCSharp s
리턴 Server

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

public static string salt
리턴 string