Constructors
constructor
-
Parameters
Properties
client
Methods
Private _calculateManabar
- _calculateManabar(max_mana: number, __namedParameters: { current_mana: any; last_update_time: any }): Manabar
-
Parameters
-
max_mana: number
-
__namedParameters: { current_mana: any; last_update_time: any }
-
current_mana: any
-
last_update_time: any
calculateRCMana
-
Parameters
calculateVPMana
-
Parameters
call
- call(method: string, params?: any): Promise<any>
-
Parameters
-
method: string
-
Optional params: any
Returns Promise<any>
findRCAccounts
- findRCAccounts(usernames: string[]): Promise<RCAccount[]>
-
Parameters
Returns Promise<RCAccount[]>
getRCMana
- getRCMana(username: string): Promise<Manabar>
-
Parameters
Returns Promise<Manabar>
getResourceParams
-
Returns Promise<RCParams>
getResourcePool
- getResourcePool(): Promise<RCPool>
-
Returns Promise<RCPool>
getVPMana
- getVPMana(username: string): Promise<Manabar>
-
Parameters
Returns Promise<Manabar>
Internal convenience method to reduce redundant code