mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:37:22 +01:00
add some UI stuff
This commit is contained in:
parent
4f72daa0eb
commit
f643b413f2
8 changed files with 311 additions and 150 deletions
|
|
@ -19,10 +19,15 @@ namespace MareSynchronos.Factories
|
|||
|
||||
public FileReplacement Create(string gamePath, bool resolve = true)
|
||||
{
|
||||
if (!ipcManager.CheckPenumbraAPI())
|
||||
{
|
||||
throw new System.Exception();
|
||||
}
|
||||
|
||||
var fileReplacement = new FileReplacement(gamePath, ipcManager.PenumbraModDirectory()!);
|
||||
if (!resolve) return fileReplacement;
|
||||
|
||||
if(clientState.LocalPlayer != null)
|
||||
if (clientState.LocalPlayer != null)
|
||||
{
|
||||
playerName = clientState.LocalPlayer.Name.ToString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue