C# 클래스 MUDServer.Player

상속: CombatEntity
파일 보기 프로젝트 열기: sq/Fracture 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Client TelnetClient

공개 메소드들

메소드 설명
Dispose ( ) : void
Player ( TelnetClient client, Location location ) : System
ProcessInput ( string text ) : IEnumerator
SendMessage ( string message ) : void
SendPrompt ( ) : void

보호된 메소드들

메소드 설명
DispatchEvent ( EventType type, object evt ) : IEnumerator
OnLocationChange ( Location oldLocation, Location newLocation ) : void
ThinkTask ( ) : IEnumerator

비공개 메소드들

메소드 설명
AddExitCommands ( Location l ) : void
AddPlayerCommands ( AlphaTrie _ ) : void
CheckPlayerIsAlive ( Player p ) : bool
OnDisconnected ( IFuture f ) : void
OnEventCombatHit ( EventType type, object evt ) : IEnumerator
OnEventCombatMiss ( EventType type, object evt ) : IEnumerator
OnEventCombatStart ( EventType type, object evt ) : IEnumerator
OnEventDeath ( EventType type, object evt ) : IEnumerator
OnEventEmote ( EventType type, object evt ) : IEnumerator
OnEventEnter ( EventType type, object evt ) : IEnumerator
OnEventLeave ( EventType type, object evt ) : IEnumerator
OnEventSay ( EventType type, object evt ) : IEnumerator
OnEventTell ( EventType type, object evt ) : IEnumerator
PerformLook ( string words ) : void
PromptHelper ( IEnumerator task, OnComplete onComplete ) : IEnumerator
RebuildCommandTrie ( ) : void
RemoveExitCommands ( Location l ) : void

메소드 상세

DispatchEvent() 보호된 메소드

protected DispatchEvent ( EventType type, object evt ) : IEnumerator
type EventType
evt object
리턴 IEnumerator

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

OnLocationChange() 보호된 메소드

protected OnLocationChange ( Location oldLocation, Location newLocation ) : void
oldLocation Location
newLocation Location
리턴 void

Player() 공개 메소드

public Player ( TelnetClient client, Location location ) : System
client TelnetClient
location Location
리턴 System

ProcessInput() 공개 메소드

public ProcessInput ( string text ) : IEnumerator
text string
리턴 IEnumerator

SendMessage() 공개 메소드

public SendMessage ( string message ) : void
message string
리턴 void

SendPrompt() 공개 메소드

public SendPrompt ( ) : void
리턴 void

ThinkTask() 보호된 메소드

protected ThinkTask ( ) : IEnumerator
리턴 IEnumerator

프로퍼티 상세

Client 공개적으로 프로퍼티

public TelnetClient,MUDServer Client
리턴 TelnetClient