public bool AddPlayersChangedListener(PlayersChangedCallback callback, object userData)
    {
        PlayersChangedListener item = new PlayersChangedListener();

        item.SetCallback(callback);
        item.SetUserData(userData);
        if (this.m_playersChangedListeners.Contains(item))
        {
            return(false);
        }
        this.m_playersChangedListeners.Add(item);
        return(true);
    }
 public bool AddPlayersChangedListener(PlayersChangedCallback callback)
 {
     return(this.AddPlayersChangedListener(callback, null));
 }