示例#1
0
        static void OnChannelDataError(MyEvent arg)
        {
            UnityClientEvent evt  = arg as UnityClientEvent;
            HandSnakeResp    resp = evt.GetParame <HandSnakeResp>();

            Console.WriteLine("OnHandSnake:" + resp.GetType().FullName);
        }
示例#2
0
        static void OnHandSnake(MyEvent arg)
        {
            UnityClientEvent evt  = arg as UnityClientEvent;
            HandSnakeResp    resp = evt.GetParame <HandSnakeResp>();

            client.Logger.Info("OnHandSnake =>> success:" + evt.Success + ",parame :" + resp);
        }
示例#3
0
        static void OnConnectResum(MyEvent arg)
        {
            UnityClientEvent evt  = arg as UnityClientEvent;
            HandSnakeResp    resp = evt.GetParame <HandSnakeResp>();

            Console.WriteLine("OnConnectResum:" + resp.GetType().FullName);
        }