private void RemoveDialogLink(DialogLink link) { }
private void AddDialogLink(DialogLink link) { }
/// <summary> /// Scrubs a dialog link of all the scripts and links associated with them using a deep recursive /// call to prevent leaking out information to the outside world about them. /// </summary> /// <param name="link"></param> private void ScrubLink(DialogLink link) { throw new NotImplementedException(); }
private void PerformLinkActions(Player player, DialogLink link) { _receiver.BeginSession(player); try { link.DialogActions.ForEach(action => action.Execute(_receiver)); } catch (Exception exception) { Logger.Instance.Warn("An action was attempted to be executed and fail. It was likely not implemented. Check for unimplemented actions."); } _receiver.EndSession(); }
private TreeNode CreateTreeNodeFromDialogLink(DialogLink link) { var treeNode = new TreeNode(link.Name + ": " + TruncateLongString(link.Text, 40)); treeNode.ImageKey = "link.png"; treeNode.SelectedImageKey = treeNode.ImageKey; treeNode.Tag = link; return treeNode; }