6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
35 lines
989 B
C#
35 lines
989 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using NetWorkMessage;
|
|
|
|
namespace ActorCore
|
|
{
|
|
/// <summary>
|
|
/// 跨进程发送器
|
|
/// </summary>
|
|
public interface IProcessOuterSender : IDisposable
|
|
{
|
|
|
|
/// <summary>
|
|
/// Update
|
|
/// </summary>
|
|
void Update();
|
|
|
|
/// <summary>
|
|
/// 发送给跨进程Actor
|
|
/// </summary>
|
|
/// <param name="fromActorId"></param>
|
|
/// <param name="actorId"></param>
|
|
/// <param name="messageObject"></param>
|
|
void Send(ActorId fromActorId, ActorId actorId, IMessage messageObject);
|
|
|
|
/// <summary>
|
|
/// 发送RPC消息
|
|
/// </summary>
|
|
/// <param name="fromActorId"></param>
|
|
/// <param name="actorId"></param>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<IResponse> Call(ActorId fromActorId, ActorId actorId, IRequest request);
|
|
}
|
|
} |