You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
324 B
16 lines
324 B
3 years ago
|
using System;
|
||
|
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
[MessageHandler]
|
||
|
public class C2G_PingHandler : AMRpcHandler<C2G_Ping, G2C_Ping>
|
||
|
{
|
||
|
protected override async ETTask Run(Session session, C2G_Ping request, G2C_Ping response, Action reply)
|
||
|
{
|
||
|
response.Time = TimeHelper.ServerNow();
|
||
|
reply();
|
||
|
await ETTask.CompletedTask;
|
||
|
}
|
||
|
}
|
||
|
}
|