-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge all client projects (launcher, symbiote, switcher) into one.
- Loading branch information
Showing
54 changed files
with
381 additions
and
503 deletions.
There are no files selected for viewing
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
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
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,5 +1,5 @@ | ||
<Project Sdk="Microsoft.Build.Traversal"> | ||
<ItemGroup> | ||
<ProjectReference Include="src/*/*/*.*proj" /> | ||
<ProjectReference Include="src/**/*.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...ent/symbiote/Data/TeraDataCenterLoader.cs → src/client/Game/Data/TeraDataCenterLoader.cs
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
4 changes: 2 additions & 2 deletions
4
src/client/symbiote/GameApplicationHost.cs → src/client/Game/GameApplicationHost.cs
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
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,14 @@ | ||
namespace Arise.Client.Game; | ||
|
||
internal sealed class GameOptions : IOptions<GameOptions> | ||
{ | ||
public bool Console { get; set; } | ||
|
||
public Uri WorldServerUri { get; set; } = new("arise://localhost:7801"); | ||
|
||
public string AccountName { get; set; } = "arise@localhost"; | ||
|
||
public string SessionTicket { get; set; } = "bc8d0fc43b795e0634fa5934a2d3b14d5348da9f13fa26ae57acefaf337f5731"; | ||
|
||
GameOptions IOptions<GameOptions>.Value => this; | ||
} |
9 changes: 4 additions & 5 deletions
9
...iote/Launcher/TeraLauncherProxyManager.cs → ...Game/Launcher/TeraLauncherProxyManager.cs
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
2 changes: 1 addition & 1 deletion
2
src/client/symbiote/Memory/TeraMemory.cs → src/client/Game/Memory/TeraMemory.cs
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,4 +1,4 @@ | ||
namespace Arise.Client.Memory; | ||
namespace Arise.Client.Game.Memory; | ||
|
||
internal static unsafe class TeraMemory | ||
{ | ||
|
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
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...dlers/GameClientPacketHandler.Security.cs → ...dlers/GameClientPacketHandler.Security.cs
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
2 changes: 1 addition & 1 deletion
2
...e/Net/Handlers/GameClientPacketHandler.cs → ...e/Net/Handlers/GameClientPacketHandler.cs
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
2 changes: 1 addition & 1 deletion
2
...ymbiote/Net/Sessions/GameClientSession.cs → ...nt/Game/Net/Sessions/GameClientSession.cs
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
6 changes: 2 additions & 4 deletions
6
...t/Sessions/GameClientSessionDispatcher.cs → ...t/Sessions/GameClientSessionDispatcher.cs
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
3 changes: 1 addition & 2 deletions
3
...ent/symbiote/Net/TeraConnectionManager.cs → src/client/Game/Net/TeraConnectionManager.cs
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
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
File renamed without changes.
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,24 @@ | ||
using Arise.Client.Launcher.Media; | ||
|
||
namespace Arise.Client.Launcher.Controllers; | ||
|
||
internal sealed class MainController : LauncherController | ||
{ | ||
private readonly MusicPlayer? _musicPlayer; | ||
|
||
public MainController(IServiceProvider services) | ||
: base(services) | ||
{ | ||
_musicPlayer = services.GetService<MusicPlayer>(); // Not available in the Avalonia designer. | ||
|
||
this.WhenActivated((CompositeDisposable disposable) => | ||
{ | ||
if (_musicPlayer is not { } player) | ||
return; | ||
|
||
player.Play(); | ||
|
||
disposable.Add(Disposable.Create(player, static player => player.Stop())); | ||
}); | ||
} | ||
} |
File renamed without changes.
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
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
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
File renamed without changes.
1 change: 0 additions & 1 deletion
1
src/client/launcher/Media/MusicPlayer.cs → src/client/Launcher/Media/MusicPlayer.cs
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
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
File renamed without changes.
File renamed without changes.
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
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
3 changes: 1 addition & 2 deletions
3
...lient/launcher/Logging/AvaloniaLogSink.cs → src/client/Logging/AvaloniaLogSink.cs
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
src/client/launcher/NativeMethods.txt → src/client/NativeMethods.txt
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,3 +1,4 @@ | ||
AllocConsole | ||
AttachConsole | ||
|
||
ATTACH_PARENT_PROCESS |
Oops, something went wrong.