Methods
Private _calculateManabar
- _calculateManabar(max_mana: number, __namedParameters: object): Manabar
-
Parameters
-
max_mana: number
-
__namedParameters: object
-
current_mana: any
-
last_update_time: any
call
- call(method: string, params?: any): Promise<any>
-
Parameters
-
method: string
-
Optional params: any
Returns Promise<any>
findRCAccounts
- findRCAccounts(usernames: string[]): Promise<RCAccount[]>
getRCMana
- getRCMana(username: string): Promise<Manabar>
-
Parameters
Returns Promise<Manabar>
getResourcePool
- getResourcePool(): Promise<RCPool>
getVPMana
- getVPMana(username: string): Promise<Manabar>
-
Parameters
Returns Promise<Manabar>
Internal convenience method to reduce redundant code