C# Class PolaMUD.Player

Inheritance: Mob
Afficher le fichier Open project: Polatrite/PolaMUD Class Usage Examples

Méthodes publiques

Свойство Type Description
Connection PolaMUD.TelnetConnection

Méthodes publiques

Méthode Description
Authenticate ( string inputPassword ) : bool
GetPrompt ( ) : string
HandleTurnBattleMenu ( string command ) : void
Player ( ) : System
SendMessage ( string message ) : bool

Add a message to the outgoing buffer, sending it to the Player at the next opportunity.

SendMessage ( string message, string mobileMessage ) : bool
SendMobileMessage ( string mobileMessage ) : bool
SendOutgoingBuffer ( ) : bool

Flushes the entire outbound buffer to the Player's connection. If the Player is not connected, nothing is done.

iPlayer ( ) : void

Method Details

Authenticate() public méthode

public Authenticate ( string inputPassword ) : bool
inputPassword string
Résultat bool

GetPrompt() public méthode

public GetPrompt ( ) : string
Résultat string

HandleTurnBattleMenu() public méthode

public HandleTurnBattleMenu ( string command ) : void
command string
Résultat void

Player() public méthode

public Player ( ) : System
Résultat System

SendMessage() public méthode

Add a message to the outgoing buffer, sending it to the Player at the next opportunity.
public SendMessage ( string message ) : bool
message string
Résultat bool

SendMessage() public méthode

public SendMessage ( string message, string mobileMessage ) : bool
message string
mobileMessage string
Résultat bool

SendMobileMessage() public méthode

public SendMobileMessage ( string mobileMessage ) : bool
mobileMessage string
Résultat bool

SendOutgoingBuffer() public méthode

Flushes the entire outbound buffer to the Player's connection. If the Player is not connected, nothing is done.
public SendOutgoingBuffer ( ) : bool
Résultat bool

iPlayer() public méthode

public iPlayer ( ) : void
Résultat void

Property Details

Connection public_oe property

public TelnetConnection,PolaMUD Connection
Résultat PolaMUD.TelnetConnection