UnityEditor.ASHistoryWindow.ContextMenuClick C# (CSharp) Method

ContextMenuClick() private method

private ContextMenuClick ( object userData, string options, int selected ) : void
userData object
options string
selected int
return void
        private void ContextMenuClick(object userData, string[] options, int selected)
        {
            if (selected >= 0)
            {
                switch (selected)
                {
                    case 0:
                        this.ShowAssetsHistory();
                        break;

                    case 2:
                        this.DoShowDiff(false, this.ChangeLogSelectionRev, -1);
                        break;

                    case 3:
                        this.DoShowDiff(true, this.ChangeLogSelectionRev, -1);
                        break;

                    case 5:
                        this.DoShowCustomDiff(false);
                        break;

                    case 6:
                        this.DoShowCustomDiff(true);
                        break;

                    case 8:
                        this.DownloadFile();
                        break;
                }
            }
        }