コード例 #1
0
 /// <summary>
 ///     Selects the first Gossip-Option that matches the specified type
 /// </summary>
 /// <param name="parType">Type of the wanted Gossip-Option</param>
 public void SelectFirstGossipOfType(Enums.GossipTypes parType)
 {
     for (var i = 0; i < Options.Count; i++)
     {
         if (Options[i].Type != parType)
         {
             continue;
         }
         Lua.Instance.Execute("SelectGossipOption(" + (i + 1) + ")");
         return;
     }
 }
コード例 #2
0
 internal GossipOptionInterface(string parText, Enums.GossipTypes parType) : base(parText, parType)
 {
 }
コード例 #3
0
 internal GossipOption(string parText, Enums.GossipTypes parType)
 {
     Type = parType;
     Text = parText;
 }