C# Class DSPUtil.SlimPlayer

SlimPlayer class provides methods to access a single player's functionality.
Afficher le fichier Open project: hughpyle/inguz-DSPUtil Class Usage Examples

Méthodes publiques

Méthode Description
Attribute ( string name ) : string
Button ( string button ) : void
Show ( string header, string message, int secs ) : void

Show a message on the player screen.

ShowBriefly ( string message ) : void

Show a message briefly on the player screen.

SlimPlayer ( SlimCLI server, string>.Dictionary attributes ) : System
SlimPlayer ( SlimCLI server, string playerID ) : System
ToString ( ) : string

Method Details

Attribute() public méthode

public Attribute ( string name ) : string
name string
Résultat string

Button() public méthode

public Button ( string button ) : void
button string
Résultat void

Show() public méthode

Show a message on the player screen.
public Show ( string header, string message, int secs ) : void
header string
message string Message to display
secs int
Résultat void

ShowBriefly() public méthode

Show a message briefly on the player screen.
public ShowBriefly ( string message ) : void
message string Message to display
Résultat void

SlimPlayer() public méthode

public SlimPlayer ( SlimCLI server, string>.Dictionary attributes ) : System
server SlimCLI
attributes string>.Dictionary
Résultat System

SlimPlayer() public méthode

public SlimPlayer ( SlimCLI server, string playerID ) : System
server SlimCLI
playerID string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string