public override CommandActionResult Execute(DialogContext dc, IList <IActivity> activities, GameFlags flags) { flags.SetFlag(InventoryItemId); activities.Add(CreateEventActivity(dc, "InventoryItemAdded", JObject.FromObject(new { inventoryItemId = InventoryItemId, description = Description }))); return(CommandActionResult.None); }
public override CommandActionResult Execute(DialogContext dc, IList <IActivity> activities, GameFlags flags) { flags.SetFlag(FlagName); return(CommandActionResult.None); }