Create a Client
Optional
option: Partial<ClientOption>Client option
Readonly
optionProtected
Static
Readonly
_assetAsset event emitter
Static
Readonly
_cachedCached text map
Cached game version
Cached game version
Protected
Static
gameAssets game version text
Assets game version text or undefined
Alias for emitter.on(eventName, listener)
.
Protected
emitSynchronously calls each of the listeners registered for the event namedeventName
, in the order they were registered, passing the supplied arguments to each.
Returns true
if the event had listeners, false
otherwise.
The name of the event.
Rest
...args: K extends keyof ClientEventMapArguments to pass to the listeners.
Alias for emitter.removeListener()
.
Adds the listener
function to the end of the listeners array for the event named eventName
.
No checks are made to see if the listener
has already been added.
Multiple calls passing the same combination of eventName
and listener
will result in the listener
being added, and called, multiple times.
Adds a one-timelistener
function for the event named eventName
. The next time eventName
is triggered, this listener is removed and then invoked.
Removes all listeners, or those of the specified eventName
.
Optional
event: ClientEvents | (keyof ClientEventMap) | KThe name of the event.
Removes the specified listener
from the listener array for the event namedeventName
.
Static
_addStatic
_getGet cached excel bin output by name
ExcelBinOutput name
Cached excel bin output
Static
_getGet Json from cached excel bin output
ExcelBinOutput name
ID of character, etc
Json
Static
_hasCheck if cached excel bin output exists by ID
ExcelBinOutput name
ID of character, etc
Cached excel bin output exists
Static
_hasCheck if cached excel bin output exists by name
ExcelBinOutput name
Cached excel bin output exists
Static
_searchSearch ID in CachedExcelBinOutput by text
ExcelBinOutput name
Text
IDs
Protected
Static
setSet excel bin output to cache
ExcelBinOutput names
Returns true if an error occurs
Protected
Static
setProtected
Static
update
Class of the client
Description
This is the main body of
Genshin-Manager
where cache information is stored