프로퍼티 | 타입 | 설명 | |
---|---|---|---|
isConnected | bool | ||
statsText | string[] |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public static AppendDebugLine ( string line ) : void | ||
line | string | |
리턴 | void |
public RandomAnime ( int type ) : void | ||
type | int | type: 0=from db, 1=watched, 2=unwatched, 3=all mylist |
리턴 | void |