Демка с чатом работает

This commit is contained in:
2025-03-13 08:43:48 +03:00
parent 22cf8ede0a
commit 6d9607081c
11 changed files with 112 additions and 15 deletions
+13
View File
@@ -0,0 +1,13 @@
using System;
using mROA.Implementation;
using mROA.Implementation.Attributes;
namespace Example.Events.Shared
{
[SharedObjectInterface]
public partial interface IChat : IShared
{
void PostSymbol(string symbol, RequestContext context = default);
event Action<string, RequestContext> OnCharPosted;
}
}
+12
View File
@@ -0,0 +1,12 @@
using System;
using mROA.Implementation;
using mROA.Implementation.Attributes;
namespace Example.Events.Shared
{
[SharedObjectInterface]
public interface IChatFactory : IShared
{
IChat GetChat(Guid id);
}
}