lib/demiurge/agent.rb
# Send out a notification to indicate this ActionIntention was
# applied.
#
# @return [void]
# @since 0.2.0
Send out a notification to indicate this ActionIntention was
applied.
Send out a notification to indicate this ActionIntention was applied .
def apply_notification
      @engine.send_notification({
                                  id: @intention_id,
                                  intention_type: self.class.to_s,
                                  queue_number: @action_queue_number,
                                  action_name: @action_name,
                                  action_args: @action_args,
                                },
                                type: Demiurge::Notifications::IntentionApplied,
                                zone: @item.zone_name,
                                location: @item.location_name,
                                actor: @item.name,
                                include_context: true)
      nil
    end
def apply_notification @engine . send_notification ( { id : @intention_id , intention_type : self . class . to_s , queue_number : @action_queue_number , action_name : @action_name , action_args : @action_args , } , type : Demiurge :: Notifications :: IntentionApplied , zone : @item . zone_name , location : @item . location_name , actor : @item . name , include_context : true ) nil end
Send out a notification to indicate this ActionIntention was
applied.
Send out a notification to indicate this ActionIntention was applied .
None
void
since
None