/// <summary> /// 轮询验证检测 /// </summary> /// <param name="verify">轮询验证输入参数信息</param> /// <returns></returns> internal bool Verify(ref VerifyInfo verify) { if (verify.Verify != null) { int index = verify.UserId >> 8; return((uint)index < (uint)sessions.Length && sessions[index].Check(verify.Verify)); } return(false); }
public bool Verify(ref VerifyInfo verify) { return(sessions[verify.UserId & 0xff].Verify(ref verify)); }