feat(wip): Room Property and Player Property

This commit is contained in:
2024-04-14 08:49:30 +03:00
parent 5c20fbafc1
commit d115c98b79
9 changed files with 109 additions and 19 deletions
@@ -29,12 +29,14 @@ public sealed class AuthorizationOperation: BaseOperation
private readonly RagonWebHookPlugin _webhook;
private readonly RagonContextObserver _observer;
private readonly RagonBuffer _writer;
private readonly RagonServerConfiguration _configuration;
public AuthorizationOperation(
RagonBuffer reader,
RagonBuffer writer,
RagonWebHookPlugin webhook,
RagonContextObserver observer): base(reader, writer)
RagonContextObserver observer,
RagonServerConfiguration configuration): base(reader, writer)
{
_webhook = webhook;
_observer = observer;
@@ -55,7 +57,7 @@ public sealed class AuthorizationOperation: BaseOperation
return;
}
var configuration = context.Configuration;
var configuration = _configuration;
var key = Reader.ReadString();
var name = Reader.ReadString();
var payload = Reader.ReadString();