/// <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; } }
internal GossipOptionInterface(string parText, Enums.GossipTypes parType) : base(parText, parType) { }
internal GossipOption(string parText, Enums.GossipTypes parType) { Type = parType; Text = parText; }