public override async ETTask C2G_PlayerInfoHandler(Session session, C2G_PlayerInfo request, G2C_PlayerInfo response, Action reply) { //response.PlayerInfo = new PlayerInfo(); //response.PlayerInfos.Add(new PlayerInfo() { RpcId = 1 }); //response.PlayerInfos.Add(new PlayerInfo() { RpcId = 2 }); //response.PlayerInfos.Add(new PlayerInfo() { RpcId = 3 }); //response.TestRepeatedInt32.Add(4); //response.TestRepeatedInt32.Add(5); //response.TestRepeatedInt32.Add(6); //response.TestRepeatedInt64.Add(7); //response.TestRepeatedInt64.Add(8); //response.TestRepeatedString.Add("9"); //response.TestRepeatedString.Add("10"); reply(); await ETTask.CompletedTask; }
public virtual async ETTask C2G_PlayerInfoHandler(ETModel.Session session, C2G_PlayerInfo request, G2C_PlayerInfo response, Action reply) { }