C# Class PolaMUD.Player

Inheritance: Mob
ファイルを表示 Open project: Polatrite/PolaMUD Class Usage Examples

Public Properties

Property Type Description
Connection PolaMUD.TelnetConnection

Public Methods

Method 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 method

public Authenticate ( string inputPassword ) : bool
inputPassword string
return bool

GetPrompt() public method

public GetPrompt ( ) : string
return string

HandleTurnBattleMenu() public method

public HandleTurnBattleMenu ( string command ) : void
command string
return void

Player() public method

public Player ( ) : System
return System

SendMessage() public method

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

SendMessage() public method

public SendMessage ( string message, string mobileMessage ) : bool
message string
mobileMessage string
return bool

SendMobileMessage() public method

public SendMobileMessage ( string mobileMessage ) : bool
mobileMessage string
return bool

SendOutgoingBuffer() public method

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

iPlayer() public method

public iPlayer ( ) : void
return void

Property Details

Connection public_oe property

public TelnetConnection,PolaMUD Connection
return PolaMUD.TelnetConnection