C# Class NetWrok.API

显示文件 Open project: simonwittber/netwrok-client Class Usage Examples

Public Properties

Property Type Description
alliance Alliance
analytics Analytics
clan Clan
connection Connection
contacts Contacts
inbox Inbox
location Location
squad Squad

Public Methods

Method Description
API ( ) : System.Collections
Authenticate ( string email, string password ) : Request
Join ( string room ) : void
Leave ( string room ) : void
Register ( string handle, string email, string password ) : Request
Request ( string name ) : Request
RequestPasswordReset ( string email ) : void
ResetPassword ( string email, string token, string password ) : Request
Say ( string room, string cmd ) : void
Send ( string name ) : void

Private Methods

Method Description
ByteArrayToHexString ( byte array ) : string
SHA256 ( string phrase ) : string

Method Details

API() public method

public API ( ) : System.Collections
return System.Collections

Authenticate() public method

public Authenticate ( string email, string password ) : Request
email string
password string
return Request

Join() public method

public Join ( string room ) : void
room string
return void

Leave() public method

public Leave ( string room ) : void
room string
return void

Register() public method

public Register ( string handle, string email, string password ) : Request
handle string
email string
password string
return Request

Request() public method

public Request ( string name ) : Request
name string
return Request

RequestPasswordReset() public method

public RequestPasswordReset ( string email ) : void
email string
return void

ResetPassword() public method

public ResetPassword ( string email, string token, string password ) : Request
email string
token string
password string
return Request

Say() public method

public Say ( string room, string cmd ) : void
room string
cmd string
return void

Send() public method

public Send ( string name ) : void
name string
return void

Property Details

alliance public_oe property

public Alliance,NetWrok alliance
return Alliance

analytics public_oe property

public Analytics,NetWrok analytics
return Analytics

clan public_oe property

public Clan,NetWrok clan
return Clan

connection public_oe property

public Connection,NetWrok connection
return Connection

contacts public_oe property

public Contacts,NetWrok contacts
return Contacts

inbox public_oe property

public Inbox,NetWrok inbox
return Inbox

location public_oe property

public Location,NetWrok location
return Location

squad public_oe property

public Squad,NetWrok squad
return Squad