Method: CEML::Processor#simple_audition
- Defined in:
- lib/ceml/processor.rb
#simple_audition(bundle_id, player) ⇒ Object
internals =
73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/ceml/processor.rb', line 73 def simple_audition(bundle_id, player) # log "audition(): #{bundle_id}, #{player[:id]}" b = Bundle.new(bundle_id) b.clear_from_all_rooms(player[:id]) if incident_id = b.absorb?(player) IncidentModel.new(incident_id).run(self) return true end player_did_report({:player => player, :squad_id => bundle_id, :city => player[:city]}, nil) b.register_in_rooms(player) end |