mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-03 06:13:45 +01:00
Everything's a service.
This commit is contained in:
parent
2670ba52c1
commit
dd8c910597
45 changed files with 2155 additions and 2212 deletions
|
|
@ -41,12 +41,12 @@ public class PenumbraApi : IDisposable, IPenumbraApi
|
|||
add
|
||||
{
|
||||
CheckInitialized();
|
||||
_penumbra!.ObjectReloader.GameObjectRedrawn += value;
|
||||
_penumbra!.RedrawService.GameObjectRedrawn += value;
|
||||
}
|
||||
remove
|
||||
{
|
||||
CheckInitialized();
|
||||
_penumbra!.ObjectReloader.GameObjectRedrawn -= value;
|
||||
_penumbra!.RedrawService.GameObjectRedrawn -= value;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -206,25 +206,25 @@ public class PenumbraApi : IDisposable, IPenumbraApi
|
|||
public void RedrawObject(int tableIndex, RedrawType setting)
|
||||
{
|
||||
CheckInitialized();
|
||||
_penumbra!.ObjectReloader.RedrawObject(tableIndex, setting);
|
||||
_penumbra!.RedrawService.RedrawObject(tableIndex, setting);
|
||||
}
|
||||
|
||||
public void RedrawObject(string name, RedrawType setting)
|
||||
{
|
||||
CheckInitialized();
|
||||
_penumbra!.ObjectReloader.RedrawObject(name, setting);
|
||||
_penumbra!.RedrawService.RedrawObject(name, setting);
|
||||
}
|
||||
|
||||
public void RedrawObject(GameObject? gameObject, RedrawType setting)
|
||||
{
|
||||
CheckInitialized();
|
||||
_penumbra!.ObjectReloader.RedrawObject(gameObject, setting);
|
||||
_penumbra!.RedrawService.RedrawObject(gameObject, setting);
|
||||
}
|
||||
|
||||
public void RedrawAll(RedrawType setting)
|
||||
{
|
||||
CheckInitialized();
|
||||
_penumbra!.ObjectReloader.RedrawAll(setting);
|
||||
_penumbra!.RedrawService.RedrawAll(setting);
|
||||
}
|
||||
|
||||
public string ResolveDefaultPath(string path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue