public void Execute(CommodityVO reward) { FactionType faction; if (reward.ID == null || !Enum.TryParse <FactionType>(reward.ID, ignoreCase: true, out faction)) { faction = AmbitionApp.GetModel <PartyModel>().Party?.Faction ?? FactionType.None; } GossipVO gossip = new GossipVO() { Faction = faction, Tier = reward.Value }; AmbitionApp.SendMessage(InventoryMessages.CREATE_GOSSIP, gossip); }
private void OnSellGossip(GossipVO gossip) => Activate();
private void OnDisplayGossip(GossipVO gossip) => Activate();