//发送PVP通信
 public void sendPvpFprot(CallBack callback)
 {
     if (getLeftPvpTime() <= 0)
     {
         PvpGetInfoFPort fport = FPortManager.Instance.getFPort("PvpGetInfoFPort") as PvpGetInfoFPort;
         fport.access((hasPvp) => {
             checkPvp(hasPvp);
             callback();
         });
     }
     else
     {
         callback();
     }
 }
    //初始化PVP事件
    public void initPvpEvent()
    {
        PvpGetInfoFPort fport = FPortManager.Instance.getFPort("PvpGetInfoFPort") as PvpGetInfoFPort;

        fport.access(showPvpEffect);
    }