Commit graph

16 commits

Author SHA1 Message Date
Pierce
6eefbcdf6f quickPlay support, opts.server removed
to use the old server launch arg format, use the legacy option.
2023-06-16 17:35:25 -07:00
TehMartinXz
1fa4668de9
Cache manifest json files (#104)
* Add cache code

* Fix typo and add cache option to documentation

* Match logging style

* Add return

* Follow ESLint style guide

* Support older Node Versions
2023-03-10 13:36:33 -08:00
Tomate 06 13
62a78e9653
Add gameDirectory overide to type declarations (#96) 2023-01-29 17:15:16 -08:00
Pierce
74c3b69a41 Properly parse object based launch args
Closes #90
2022-08-28 21:59:32 -07:00
Pierce
6af7b10f86 ForgeWrapper & Auth changes 2021-08-08 13:05:50 -07:00
Hanro
3e276479cd
Added launch hooks needed by Microsoft authentication (#77)
* Added launch hooks needed by Microsoft authentication

Added a meta field to the interface IUser that implements a new interface called IMeta

IMeta contains information about if the account is a mojang or microsoft account. It also contains information stating if a set account is a demo account (I just thought it could be useful)

I also added checks to components/handler.js to use the new field. If the field is absent, a filler value will be used that will make mclc behave as it did before this change.

* Moved the meta field inline

Just a typescript change for better consistency with the rest of the type files.

* Update index.d.ts

Properly managed to debug the vanilla launcher and fixed this oversight

It marks it with xbox as the type in the vanilla launcher's files, but the real arg pushed is msa.
2021-07-14 15:37:30 -07:00
RynerNO
b5f790f4e7 fix async modifier cannot be used in an ambient context. error 2021-03-30 20:45:33 +03:00
Pierce
449e15e867 Update index.d.ts 2021-02-10 17:00:34 -08:00
Pierce
cc6d1f5dc1
Merge branch 'master' into Split-large-MCLCore-launch-into-multiple-methods 2021-02-10 16:57:23 -08:00
Kev
afe4c4d7a4 Add launcher methods to index.d.ts 2021-02-10 15:04:25 +01:00
Just a Badly Drawn TABS Dude
da1b77a585
Update index.d.ts 2021-01-19 12:59:04 +02:00
Just a Badly Drawn TABS Dude
74411441d6
Update index.d.ts 2021-01-18 21:03:07 +02:00
Suyashtnt
b9647a91ba
add docs for types and edit a few types 2021-01-18 16:13:47 +02:00
Louis Bailleau
bd2250df90 Fixed typing error, and update memory and window types in index.d.ts. 2020-09-12 23:15:13 +02:00
Louis Bailleau
f7ee07e43f Fixed a typing in the declaration file 2020-09-12 22:50:07 +02:00
Louis Bailleau
192f9a18ef Created typescript typings for the library
- Created module declaration file
- Added `@types/node` to dev dependancies
2020-09-12 22:50:06 +02:00