JELoginHandlerBuilder
Builder for initializing JELoginHandler
WithHttpClient
Set HttpClient
. All HTTP requests are handled by this.
WithAccountManager
Set IXboxGameAccount
which JELoginHandler
will use. Default is JsonXboxGameAccountManager
with the <MINECRAFT-PATH>/cml_accounts.json
file.
If you pass a string type, this method will call WithAccountManager(new JsonXboxGameAccountManager(filePath, JEGameAccount.FromSessionStorage))
.
WithLogger
Set ILogger for logging. This library use Microsoft.Extensions.Logging to logging.
Last updated