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