lib/demiurge/action_item.rb
# Send out a notification to indicate this ActionIntention was
# cancelled. If "silent" is set to true in the cancellation info,
# no notification will be sent.
#
# @return [void]
# @since 0.0.1
Send out a notification to indicate this ActionIntention was
cancelled. If "silent" is set to true in the cancellation info,
no notification will be sent.
Send out a notification to indicate this ActionIntention was cancelled . If " silent " is set to true in the cancellation info no notification will be sent .
def cancel_notification
      return if @cancelled_info && @cancelled_info["silent"]
      @engine.send_notification({
                                  reason: @cancelled_reason,
                                  by: @cancelled_by,
                                  id: @intention_id,
                                  intention_type: self.class.to_s,
                                  info: @cancelled_info,
                                },
                                type: Demiurge::Notifications::IntentionCancelled,
                                zone: @item.zone_name,
                                location: @item.location_name,
                                actor: @item.name,
                                include_context: true)
      nil
    end
def cancel_notification return if @cancelled_info && @cancelled_info [ "silent" ] @engine . send_notification ( { reason : @cancelled_reason , by : @cancelled_by , id : @intention_id , intention_type : self . class . to_s , info : @cancelled_info , } , type : Demiurge :: Notifications :: IntentionCancelled , 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
cancelled.
Send out a notification to indicate this ActionIntention was cancelled .
None
void
since
None