private ScriptResult NoParams(GossipActionParameter gossipActionParameter)
 {
     Trace.WriteLine(String.Format("No Params"));
     return ScriptResult.Continue;
 }
 private ScriptResult Say(GossipActionParameter gossipActionParameter)
 {
     Trace.WriteLine(String.Format("say {0}", gossipActionParameter.Parameters[0]));
     return ScriptResult.Continue;
 }
 private ScriptResult Interject(GossipActionParameter gossipActionParameter)
 {
     Trace.WriteLine(String.Format("interject {0}, {1}", gossipActionParameter.Parameters[0],
                                   gossipActionParameter.Parameters[1]));
     return ScriptResult.Continue;
 }
 private ScriptResult GotoLabel(GossipActionParameter gossipActionParameter)
 {
     Trace.WriteLine(String.Format("gotolabel {0}", gossipActionParameter.Parameters[0]));
     return ScriptResult.Continue;
 }
 private ScriptResult AddResponse(GossipActionParameter gossipActionParameter)
 {
     Trace.WriteLine(String.Format("addresponse {0}, {1}, {2}", gossipActionParameter.Parameters[0],
                                   gossipActionParameter.Parameters[1], gossipActionParameter.Parameters[2]));
     return ScriptResult.Continue;
 }
Exemple #6
0
 private ScriptResult Print(GossipActionParameter actionParameter)
 {
     Console.WriteLine(actionParameter.Parameters[0]);
     return ScriptResult.Continue;
 }
Exemple #7
0
 private ScriptResult Goto(GossipActionParameter actionParameter)
 {
     actionParameter.Script.SetActiveNode(actionParameter.Parameters[0] as string);
     return ScriptResult.Yield;
 }