public bool RemoveRecruitsChangedListener(RecruitsChangedCallback callback) { RecruitsChangedListener item = new RecruitsChangedListener(); item.SetCallback(callback); return(this.m_recruitsChangedListeners.Remove(item)); }
public bool AddRecruitsChangedListener(RecruitsChangedCallback callback) { RecruitsChangedListener item = new RecruitsChangedListener(); item.SetCallback(callback); if (this.m_recruitsChangedListeners.Contains(item)) { return(false); } this.m_recruitsChangedListeners.Add(item); return(true); }