Use named managed shared state accessors
This commit is contained in:
parent
a924b0e35b
commit
68fc0b0aa1
15 changed files with 144 additions and 56 deletions
|
|
@ -999,7 +999,7 @@ public class InventoryMenu : MonoBehaviour
|
|||
|
||||
try
|
||||
{
|
||||
_catalog = ResolveClient().Aetheria().Catalog.Latest();
|
||||
_catalog = ResolveClient().Aetheria().LatestCatalog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -1019,8 +1019,7 @@ public class InventoryMenu : MonoBehaviour
|
|||
_playerSettings = ResolveClient()
|
||||
.Aetheria()
|
||||
.Settings
|
||||
.Player
|
||||
.Latest();
|
||||
.LatestPlayer();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1496,7 +1496,7 @@ private void Update()
|
|||
|
||||
try
|
||||
{
|
||||
_catalog = ResolveClient().Aetheria().Catalog.Latest();
|
||||
_catalog = ResolveClient().Aetheria().LatestCatalog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -1516,8 +1516,7 @@ private void Update()
|
|||
_playerSettings = ResolveClient()
|
||||
.Aetheria()
|
||||
.Settings
|
||||
.Player
|
||||
.Latest();
|
||||
.LatestPlayer();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -320,8 +320,7 @@ public class MapRenderer : MonoBehaviour
|
|||
return ResolveClient()
|
||||
.Aetheria()
|
||||
.Settings
|
||||
.Player
|
||||
.Latest()
|
||||
.LatestPlayer()
|
||||
?.ShowAsteroidsInMinimap ?? false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ public class SectorRenderer : MonoBehaviour, IBeginDragHandler, IDragHandler, IS
|
|||
|
||||
try
|
||||
{
|
||||
_catalog = ResolveClient().Aetheria().Catalog.Latest();
|
||||
_catalog = ResolveClient().Aetheria().LatestCatalog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -245,8 +245,7 @@ public class SectorRenderer : MonoBehaviour, IBeginDragHandler, IDragHandler, IS
|
|||
_playerSettings = ResolveClient()
|
||||
.Aetheria()
|
||||
.Settings
|
||||
.Player
|
||||
.Latest();
|
||||
.LatestPlayer();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -628,7 +628,7 @@ public class TradeMenu : MonoBehaviour
|
|||
|
||||
try
|
||||
{
|
||||
_catalog = ResolveClient().Aetheria().Catalog.Latest();
|
||||
_catalog = ResolveClient().Aetheria().LatestCatalog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -648,8 +648,7 @@ public class TradeMenu : MonoBehaviour
|
|||
_playerSettings = ResolveClient()
|
||||
.Aetheria()
|
||||
.Settings
|
||||
.Player
|
||||
.Latest();
|
||||
.LatestPlayer();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue