mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] 接入ET8服务端
[+] 接入ET8服务端
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace ET.Client
|
||||
{
|
||||
[ActorMessageHandler(SceneType.NetClient)]
|
||||
public class A2NetClient_RequestHandler: ActorMessageHandler<Scene, A2NetClient_Request, A2NetClient_Response>
|
||||
{
|
||||
protected override async ETTask Run(Scene root, A2NetClient_Request request, A2NetClient_Response response)
|
||||
{
|
||||
response.MessageObject = await root.GetComponent<SessionComponent>().Session.Call(request.MessageObject);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user