public void DenyAllButtons() { if (m_denyButtonList == null) { m_denyButtonList = new DenyButtonList(); } for (int instId = 0; instId < m_instances.Length; ++instId) { m_denyButtonList[instId] = true; } }
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); }
public void ClearDenyButton() { m_denyButtonList = null; }
public void DenyAllButtons() { if (m_denyButtonList == null) m_denyButtonList = new DenyButtonList(); for (int instId = 0; instId < m_instances.Length; ++instId) m_denyButtonList[instId] = true; }
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; }