static void OnChannelDataError(MyEvent arg) { UnityClientEvent evt = arg as UnityClientEvent; HandSnakeResp resp = evt.GetParame <HandSnakeResp>(); Console.WriteLine("OnHandSnake:" + resp.GetType().FullName); }
static void OnHandSnake(MyEvent arg) { UnityClientEvent evt = arg as UnityClientEvent; HandSnakeResp resp = evt.GetParame <HandSnakeResp>(); client.Logger.Info("OnHandSnake =>> success:" + evt.Success + ",parame :" + resp); }
static void OnConnectResum(MyEvent arg) { UnityClientEvent evt = arg as UnityClientEvent; HandSnakeResp resp = evt.GetParame <HandSnakeResp>(); Console.WriteLine("OnConnectResum:" + resp.GetType().FullName); }