This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
> Added some packages > Fixed loading screen > Added discord activity
- Loading branch information
Showing
395 changed files
with
284,426 additions
and
415 deletions.
There are no files selected for viewing
Binary file removed
BIN
-301 Bytes
.vs/MythicalLauncher/FileContentIndex/13f79ae6-cc42-45e6-9cdd-049867490fe3.vsidx
Binary file not shown.
Binary file removed
BIN
-17.1 KB
.vs/MythicalLauncher/FileContentIndex/367d73ca-cc9b-4287-87af-78d628ed7d1c.vsidx
Binary file not shown.
Binary file added
BIN
+36.1 KB
.vs/MythicalLauncher/FileContentIndex/429b59dd-fca6-4e38-bfcb-26b9a07cc050.vsidx
Binary file not shown.
Binary file removed
BIN
-531 KB
.vs/MythicalLauncher/FileContentIndex/5cea93e6-d556-454c-863f-5a3c11bed099.vsidx
Binary file not shown.
Binary file removed
BIN
-37.9 KB
.vs/MythicalLauncher/FileContentIndex/b73d147c-cfd8-43f2-9240-76193aa6acee.vsidx
Binary file not shown.
Binary file added
BIN
+493 KB
.vs/MythicalLauncher/FileContentIndex/da5fe90d-7b5b-468d-b628-3e1bdb484e90.vsidx
Binary file not shown.
Binary file added
BIN
+365 KB
.vs/MythicalLauncher/FileContentIndex/ede97c18-3278-4add-8078-474d070ead92.vsidx
Binary file not shown.
Binary file added
BIN
+39.8 KB
.vs/MythicalLauncher/FileContentIndex/f87a683a-63c5-4d0c-82f1-581fbce90d67.vsidx
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> | ||
</startup> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-1.4.2.13" newVersion="1.4.2.13" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
</configuration> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using System.Windows.Forms; | ||
using System.IO; | ||
using System.Net; | ||
using System.Text; | ||
using DiscordRPC; | ||
using DiscordRPC.Logging; | ||
|
||
namespace MythicalLauncher | ||
{ | ||
public partial class FrmLoading : Form | ||
{ | ||
public FrmLoading() | ||
{ | ||
InitializeRPC(); | ||
InitializeComponent(); | ||
} | ||
public DiscordRpcClient client; | ||
void InitializeRPC() | ||
{ | ||
client = new DiscordRpcClient("1038164770244788254"); | ||
|
||
client.Logger = new ConsoleLogger() { Level = LogLevel.Warning }; | ||
|
||
client.OnReady += (sender, e) => | ||
{ | ||
Console.WriteLine("Received Ready from user {0}", e.User.Username); | ||
}; | ||
|
||
client.OnPresenceUpdate += (sender, e) => | ||
{ | ||
Console.WriteLine("Received Update! {0}", e.Presence); | ||
}; | ||
|
||
client.Initialize(); | ||
|
||
DiscordRPC.Button btns = new DiscordRPC.Button(); | ||
DiscordRPC.Button btns2 = new DiscordRPC.Button(); | ||
btns.Label = "Github"; | ||
btns.Url = "https://github.com/MythicalLTD/MythicalLauncher"; | ||
btns2.Label = "Free Hosting"; | ||
btns2.Url = "https://my.mythicalnodes.xyz"; | ||
|
||
client.SetPresence(new RichPresence() | ||
{ | ||
Details = "MythicalSystems", | ||
State = "Free custom minecraft launcher!", | ||
Assets = new Assets() | ||
{ | ||
LargeImageKey = "logo", | ||
LargeImageText = "MythicalSystems", | ||
}, | ||
Buttons = new DiscordRPC.Button[] | ||
{ | ||
btns, | ||
btns2 | ||
}, | ||
}); | ||
} | ||
|
||
private void lblexit_Click(object sender, EventArgs e) | ||
{ | ||
Application.Exit(); | ||
} | ||
|
||
private async void FrmLoading_Load(object sender, EventArgs e) | ||
{ | ||
await Task.Delay(10000); | ||
FrmLogin x = new FrmLogin(); | ||
x.Show(); | ||
this.Hide(); | ||
} | ||
|
||
private void logo_Click(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
|
||
private void bunifuLoader1_Click(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.