Esempio n. 1
0
 private void RemoveDialogLink(DialogLink link)
 {
 }
Esempio n. 2
0
 private void AddDialogLink(DialogLink link)
 {
 }
Esempio n. 3
0
 /// <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();
 }
Esempio n. 4
0
        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();
        }
Esempio n. 5
0
 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;
 }