sinoahpx / modulelauncher.re Goto Github PK
View Code? Open in Web Editor NEWCross-platform Minecraft Launcher library for .NET
Home Page: https://sinoahpx.github.io/ModuleLauncher.NET.Documentation
License: MIT License
Cross-platform Minecraft Launcher library for .NET
Home Page: https://sinoahpx.github.io/ModuleLauncher.NET.Documentation
License: MIT License
The exception message in file MicrosoftAuthenticator.cs for error code "2148916238" is missing a letter “T”.
case "2148916238":
throw new FailedAuthenticationException("he account is a child (under 18) and cannot proceed unless the account is added to a Family by an adult. This only seems to occur when using a custom Microsoft Azure application. When using the Minecraft launchers client id, this doesn't trigger.");
.Net Standard 2.1都停止支持了
增加一个方法,使得用户可以在指定的.minecraft路径下寻找存在的Minecraft Version
(就跟隔壁projbobcat的GetAllGames()差不多)
When we use a locator with path ".minecraft"
ModuleLauncher.Re.Locators.Concretes.MinecraftLocator locator = new ModuleLauncher.Re.Locators.Concretes.MinecraftLocator( ".minecraft");
the version GetLocalMinecrafts() will find minecrafts under this dir's .minecraft directory.
but the game folder is not in this dir.
But when we choose Directory.GetCurrentDirectory()+ "\.minecraft" as locator's path, the game can run in a same environment.
ModuleLauncher.Re.Locators.Concretes.MinecraftLocator locator = new ModuleLauncher.Re.Locators.Concretes.MinecraftLocator(Directory.GetCurrentDirectory()+ "\\.minecraft");
首先,请不要随意更改命名空间或删除方法,更新到4.x之后命名空间完全改变了,这使得项目无法顺利的从3.x迁移到4.x,希望之后不要轻易更改命名空间,对于过时的方法请保留并标注已过时,然后在几个版本后再删除
同时请不要将.net目标版本设置的过于高,这将导致几乎没有项目可以引用这个库,建议使用TargetFrameworks,同时支持.netfx,.netstandard和.netcoreapp(.netstandard是一个标准,不存在过时或不过时,建议.netstandard设置为2.0
对于Microsoft正版用户与离线用户,管理皮肤都是必要的功能。故建议实现用户皮肤管理的相关功能:
线上用户 | 离线用户 |
---|---|
1.获取用户皮肤Url。 2.上传图片文件,更换用户皮肤。 |
1.判断用户属于Alex或Steve(并提供自定义设置)。 2.给定本地图片文件,替换默认皮肤。 |
我在调用AuthenticateAsync()时发生以下异常:Flurl.Http.FlurlHttpException:“Call failed with status code 400 (Bad Request): POST https://login.live.com/oauth20_token.srf”
代码如下:
var authenticator = new MicrosoftAuthenticator();
var result = await authenticator.AuthenticateAsync();
Will based on docsify
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.