Property | Type | Description | |
---|---|---|---|
isConnected | bool | ||
statsText | string[] |
Method | Description | |
---|---|---|
AniDBAPI ( string server, int port, int localPort ) : System | ||
Anime ( int animeID ) : void |
Anime command to create a anime tab from an anime ID.
|
|
AppendDebugLine ( string line ) : void | ||
File ( |
||
File ( HashItem item ) : void | ||
Login ( string user, string pass ) : bool | ||
Logout ( ) : void | ||
MyListAdd ( HashItem item ) : void | ||
MyListDel ( int lid ) : bool | ||
MyListStats ( ) : int[] |
Retrieves mylist stats.
|
|
RandomAnime ( int type ) : void |
Retrieves a random anime from a certian criteria.
|
|
cancelHashing ( ) : void | ||
ed2kHash ( HashItem item ) : HashItem |
Method | Description | |
---|---|---|
CalculateTimeout ( ) : int |
Calculates the timeout for the next low priority command using a list of datetimes for every query in the past minute.
|
|
Execute ( string cmd ) : APIResponse |
Executes a given command. And returns a response.
|
|
ParseFileData ( object item, string data ) : void |
Parses the return message of a FILE command, and then triggers the OnFileInfoFetched event.
|
|
PrioritizedCommand ( System.Action Command ) : void |
Executes an action after a certain amount of time has passed since the previous command was sent to the server.
|
public AniDBAPI ( string server, int port, int localPort ) : System | ||
server | string | |
port | int | |
localPort | int | |
return | System |
public static AppendDebugLine ( string line ) : void | ||
line | string | |
return | void |
public File ( |
||
entry | ||
return | void |
public Login ( string user, string pass ) : bool | ||
user | string | |
pass | string | |
return | bool |
public RandomAnime ( int type ) : void | ||
type | int | type: 0=from db, 1=watched, 2=unwatched, 3=all mylist |
return | void |