C# Class WCPAL.WoWPlatform

Inheritance: BasePlatform
ファイルを表示 Open project: daegren/WCPAL Class Usage Examples

Public Methods

Method Description
GetCharacter ( string name, string realm ) : Character
GetRealmStatus ( ) : IEnumerable

Gets the status of all the realms in the current locale

GetRealmStatus ( List realms ) : IEnumerable

Get the current status of a set of realms

GetRealmStatus ( string realm ) : WCPAL.Realm

Gets the current status of a specific realm

WoWPlatform ( ) : System

Creates a new WoWPlatform Object with the default connection options. See BattlenetConnectionOptions.

WoWPlatform ( WCPAL.BattlenetConnectionOptions connectionOptions ) : System

Creates a new WoWPlatform object with a specified set of connection options.

Method Details

GetCharacter() public method

public GetCharacter ( string name, string realm ) : Character
name string
realm string
return Character

GetRealmStatus() public method

Gets the status of all the realms in the current locale
public GetRealmStatus ( ) : IEnumerable
return IEnumerable

GetRealmStatus() public method

Get the current status of a set of realms
public GetRealmStatus ( List realms ) : IEnumerable
realms List The list of realms to lookup.
return IEnumerable

GetRealmStatus() public method

Gets the current status of a specific realm
public GetRealmStatus ( string realm ) : WCPAL.Realm
realm string The realm name to lookup
return WCPAL.Realm

WoWPlatform() public method

Creates a new WoWPlatform Object with the default connection options. See BattlenetConnectionOptions.
public WoWPlatform ( ) : System
return System

WoWPlatform() public method

Creates a new WoWPlatform object with a specified set of connection options.
public WoWPlatform ( WCPAL.BattlenetConnectionOptions connectionOptions ) : System
connectionOptions WCPAL.BattlenetConnectionOptions The connection options to use when accessing the community API.
return System