예제 #1
0
        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);
        }
예제 #2
0
        public override CommandActionResult Execute(DialogContext dc, IList <IActivity> activities, GameFlags flags)
        {
            flags.ClearFlag(FlagName);

            return(CommandActionResult.None);
        }