C# Class MUDServer.Player

Inheritance: CombatEntity
Afficher le fichier Open project: sq/Fracture Class Usage Examples

Méthodes publiques

Свойство Type Description
Client TelnetClient

Méthodes publiques

Méthode Description
Dispose ( ) : void
Player ( TelnetClient client, Location location ) : System
ProcessInput ( string text ) : IEnumerator
SendMessage ( string message ) : void
SendPrompt ( ) : void

Méthodes protégées

Méthode Description
DispatchEvent ( EventType type, object evt ) : IEnumerator
OnLocationChange ( Location oldLocation, Location newLocation ) : void
ThinkTask ( ) : IEnumerator

Private Methods

Méthode Description
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

Method Details

DispatchEvent() protected méthode

protected DispatchEvent ( EventType type, object evt ) : IEnumerator
type EventType
evt object
Résultat IEnumerator

Dispose() public méthode

public Dispose ( ) : void
Résultat void

OnLocationChange() protected méthode

protected OnLocationChange ( Location oldLocation, Location newLocation ) : void
oldLocation Location
newLocation Location
Résultat void

Player() public méthode

public Player ( TelnetClient client, Location location ) : System
client TelnetClient
location Location
Résultat System

ProcessInput() public méthode

public ProcessInput ( string text ) : IEnumerator
text string
Résultat IEnumerator

SendMessage() public méthode

public SendMessage ( string message ) : void
message string
Résultat void

SendPrompt() public méthode

public SendPrompt ( ) : void
Résultat void

ThinkTask() protected méthode

protected ThinkTask ( ) : IEnumerator
Résultat IEnumerator

Property Details

Client public_oe property

public TelnetClient,MUDServer Client
Résultat TelnetClient