StonehearthEditor.GameMasterDataManager.OnCampaignSelected C# (CSharp) Method

OnCampaignSelected() public method

public OnCampaignSelected ( IGraphOwner graphOwner, TreeNode selectedNode ) : void
graphOwner IGraphOwner
selectedNode System.Windows.Forms.TreeNode
return void
        public void OnCampaignSelected(IGraphOwner graphOwner, TreeNode selectedNode)
        {
            if (selectedNode.Parent != null && !selectedNode.Parent.Text.Equals("campaigns"))
            {
                string module = selectedNode.Parent.Text;
                SelectCampaign(graphOwner, selectedNode.Parent.Text, selectedNode.Text);
            }
        }