Демка с чатом работает
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user