C# 클래스 MCDawn.Commands.GameControl.Game

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

공개 프로퍼티들

프로퍼티 타입 설명
GameOPs List
level Level
name string

보호된 프로퍼티들

프로퍼티 타입 설명
inProgress bool

공개 메소드들

메소드 설명
Dispose ( string param ) : void

Stops and clean up all changes game made before, like changing names, colours, titles.

ForceEnd ( string param ) : void

Manual end of the game.

GetCurrentInfo ( string param ) : string[]

Get info of game, like scores, teams, deaths, and more.

GetForceEndMessage ( ) : string[]

Message to level at manual game end.

GetHelp ( ) : string[]

Return full help for choosen game, rules, parameters and so on.

GetStartMessage ( ) : string[]

Message to level at game start.

IsInProgress ( ) : bool
SetParameters ( string param, bool &check, string &message ) : void

Sets parameter for game.

Start ( string param, bool &check, string &message ) : void

Start choosen game. State of running will record into check and message.

메소드 상세

Dispose() 공개 추상적인 메소드

Stops and clean up all changes game made before, like changing names, colours, titles.
public abstract Dispose ( string param ) : void
param string
리턴 void

ForceEnd() 공개 추상적인 메소드

Manual end of the game.
public abstract ForceEnd ( string param ) : void
param string
리턴 void

GetCurrentInfo() 공개 추상적인 메소드

Get info of game, like scores, teams, deaths, and more.
public abstract GetCurrentInfo ( string param ) : string[]
param string
리턴 string[]

GetForceEndMessage() 공개 추상적인 메소드

Message to level at manual game end.
public abstract GetForceEndMessage ( ) : string[]
리턴 string[]

GetHelp() 공개 추상적인 메소드

Return full help for choosen game, rules, parameters and so on.
public abstract GetHelp ( ) : string[]
리턴 string[]

GetStartMessage() 공개 추상적인 메소드

Message to level at game start.
public abstract GetStartMessage ( ) : string[]
리턴 string[]

IsInProgress() 공개 메소드

public IsInProgress ( ) : bool
리턴 bool

SetParameters() 공개 추상적인 메소드

Sets parameter for game.
public abstract SetParameters ( string param, bool &check, string &message ) : void
param string Array of parameters without keyword "set".
check bool Get or not any error, true - no error.
message string Message to show.
리턴 void

Start() 공개 추상적인 메소드

Start choosen game. State of running will record into check and message.
public abstract Start ( string param, bool &check, string &message ) : void
param string Array of parameters without keyword "set".
check bool Show result, false - game not started.
message string Message to show.
리턴 void

프로퍼티 상세

GameOPs 공개적으로 프로퍼티

public List GameOPs
리턴 List

inProgress 보호되어 있는 프로퍼티

protected bool inProgress
리턴 bool

level 공개적으로 프로퍼티

public Level level
리턴 Level

name 공개적으로 프로퍼티

public string name
리턴 string