public bool RemoveAccountLicensesChangedListener(AccountLicensesChangedCallback callback, object userData) { AccountLicensesChangedListener item = new AccountLicensesChangedListener(); item.SetCallback(callback); item.SetUserData(userData); return(this.m_accountLicensesChangedListeners.Remove(item)); }
public bool RegisterAccountLicensesChangedListener(AccountLicensesChangedCallback callback, object userData) { AccountLicensesChangedListener item = new AccountLicensesChangedListener(); item.SetCallback(callback); item.SetUserData(userData); if (this.m_accountLicensesChangedListeners.Contains(item)) { return(false); } this.m_accountLicensesChangedListeners.Add(item); return(true); }