Publish player settings as a provider-owned Eve surface
This commit is contained in:
parent
69c5811cf5
commit
be6d7b3b25
14 changed files with 534 additions and 70 deletions
|
|
@ -183,6 +183,16 @@ public sealed class AetheriaStateNode : IAsyncDisposable, IDisposable
|
|||
return Database.GetAsync<EveSurfaceState>(new CultRecordKey(AetheriaOperationsSurfaceProjector.SurfaceKey));
|
||||
}
|
||||
|
||||
public Task<CultRecordHandle<EveSurfaceState>> PutPlayerSettingsSurfaceAsync(EveSurfaceState surface)
|
||||
{
|
||||
return Database.PutAsync(new CultRecordKey(AetheriaPlayerSettingsSurfaceProjector.SurfaceKey), surface);
|
||||
}
|
||||
|
||||
public Task<EveSurfaceState?> GetPlayerSettingsSurfaceAsync()
|
||||
{
|
||||
return Database.GetAsync<EveSurfaceState>(new CultRecordKey(AetheriaPlayerSettingsSurfaceProjector.SurfaceKey));
|
||||
}
|
||||
|
||||
public Task<CultRecordHandle<EveProviderAdvertisementState>> PutProviderAdvertisementAsync(
|
||||
EveProviderAdvertisementState advertisement)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue