Example #1
0
        public void Dispatch(ClientServiceImplement impl, ServiceMethod method)
        {
            switch (method.MethodId)
            {
            case 5001:
                (impl as IClientLogicService).ServerMessageOk();
                break;

            case 6001:
                (impl as IClientLoginService).SyncPlayerInfo((PlayerInfo)method.Args[0]);
                break;
            }
        }
Example #2
0
 public void Dispatch(ClientServiceImplement impl, ServiceMethod method)
 {
     switch (method.MethodId)
     {
         case 5001:
             (impl as IClientLogicService).ServerMessageOk();
             break;
         case 6001:
             (impl as IClientLoginService).SyncPlayerInfo((PlayerInfo)method.Args[0]);
             break;
     }
 }