示例#1
0
文件: lwf_core.cs 项目: osdakira/lwf
 public void DenyAllButtons()
 {
     if (m_denyButtonList == null)
     {
         m_denyButtonList = new DenyButtonList();
     }
     for (int instId = 0; instId < m_instances.Length; ++instId)
     {
         m_denyButtonList[instId] = true;
     }
 }
示例#2
0
文件: lwf_core.cs 项目: osdakira/lwf
        public bool AddDenyButton(string buttonName)
        {
            int instId = SearchInstanceId(GetStringId(buttonName));

            if (instId < 0)
            {
                return(false);
            }

            if (m_denyButtonList == null)
            {
                m_denyButtonList = new DenyButtonList();
            }
            m_denyButtonList[instId] = true;
            return(true);
        }
示例#3
0
文件: lwf_core.cs 项目: osdakira/lwf
 public void ClearDenyButton()
 {
     m_denyButtonList = null;
 }
示例#4
0
文件: lwf_core.cs 项目: rayyee/lwf
	public void ClearDenyButton()
	{
		m_denyButtonList = null;
	}
示例#5
0
文件: lwf_core.cs 项目: rayyee/lwf
	public void DenyAllButtons()
	{
		if (m_denyButtonList == null)
			m_denyButtonList = new DenyButtonList();
		for (int instId = 0; instId < m_instances.Length; ++instId)
			m_denyButtonList[instId] = true;
	}
示例#6
0
文件: lwf_core.cs 项目: rayyee/lwf
	public bool AddDenyButton(string buttonName)
	{
		int instId = SearchInstanceId(GetStringId(buttonName));
		if (instId < 0)
			return false;

		if (m_denyButtonList == null)
			m_denyButtonList = new DenyButtonList();
		m_denyButtonList[instId] = true;
		return true;
	}