private void Update()
	{
		if (!(null != m_client))
		{
			return;
		}
		if (string.Empty != m_client.m_notificationMsg)
		{
			m_msgBar.DisplayMessage(m_client.m_notificationMsg, 1000);
			m_client.m_notificationMsg = string.Empty;
		}
		if (!(null != m_client) || PlayerPrefs.GetInt("prefHints", 1) != 1 || !(0f < m_client.GetHealth()) || !(Time.timeSinceLevelLoad > 20f))
		{
			return;
		}
		int num = 0;
		while (true)
		{
			if (num < 11)
			{
				if (Time.time > m_nextMsgShowTime[num] && DisplayMessage((eMsg)num))
				{
					break;
				}
				num++;
				continue;
			}
			return;
		}
		m_nextMsgShowTime[num] = Time.time + m_displayIntervall;
	}
    private bool IsBattleLogging()
    {
        bool flag = m_cantLogoutTime > Time.time;

        if (flag && null != m_msgBar)
        {
            int num = (int)(m_cantLogoutTime - Time.time + 0.5f);
            m_msgBar.DisplayMessage(LNG.Get("CANT_LOGOUT_DURING_BATTLE").Replace("%1", num.ToString()), 1000);
        }
        return(flag);
    }