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
|
|
@ -38,8 +38,12 @@ public static class AetheriaRuntimeCommitLogApplier
|
|||
switch (command.Kind)
|
||||
{
|
||||
case "player_settings":
|
||||
await node.PutPlayerSettingsAsync(
|
||||
ToPlayerSettings(command.PlayerSettings ?? throw MissingPayload(command), command.CreatedAtUtc))
|
||||
var settings = ToPlayerSettings(
|
||||
command.PlayerSettings ?? throw MissingPayload(command),
|
||||
command.CreatedAtUtc);
|
||||
await node.PutPlayerSettingsAsync(settings).ConfigureAwait(false);
|
||||
await node.PutPlayerSettingsSurfaceAsync(
|
||||
AetheriaPlayerSettingsSurfaceProjector.Build(settings, command.CreatedAtUtc))
|
||||
.ConfigureAwait(false);
|
||||
report.AppliedPlayerSettings++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue